diff options
Diffstat (limited to 'x11/kdelibs4/files/patch-solid__solid__managerbase.cpp')
-rw-r--r-- | x11/kdelibs4/files/patch-solid__solid__managerbase.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/x11/kdelibs4/files/patch-solid__solid__managerbase.cpp b/x11/kdelibs4/files/patch-solid__solid__managerbase.cpp new file mode 100644 index 0000000..35094d8 --- /dev/null +++ b/x11/kdelibs4/files/patch-solid__solid__managerbase.cpp @@ -0,0 +1,15 @@ +--- ./solid/solid/managerbase.cpp.orig 2012-04-17 23:58:05.745260976 +0200 ++++ ./solid/solid/managerbase.cpp 2012-04-18 00:00:48.605183174 +0200 +@@ -90,7 +90,11 @@ + # endif + + # if defined (HUPNP_FOUND) +- m_backends << new Solid::Backends::UPnP::UPnPDeviceManager(0); ++ bool solidUPnPEnabled ++ = QString::fromLocal8Bit(qgetenv("SOLID_UPNP")).toInt()==1; ++ if (solidUPnPEnabled) { ++ m_backends << new Solid::Backends::UPnP::UPnPDeviceManager(0); ++ } + # endif + } + } |