don't depend from DNNSD

it wasn't actually used anymore
This commit is contained in:
Marco Martin 2014-02-27 12:50:32 +01:00
parent 1fd741b5d3
commit 88122c62a5
3 changed files with 2 additions and 10 deletions

View File

@ -116,7 +116,7 @@ endif()
target_link_libraries(KF5Plasma target_link_libraries(KF5Plasma
PUBLIC PUBLIC
Qt5::Widgets Qt5::Widgets
KF5::ConfigWidgets KF5::ConfigWidgets # KConfigSkeleton
KF5::Service # For kplugininfo.h and kservice.h KF5::Service # For kplugininfo.h and kservice.h
PRIVATE PRIVATE
Qt5::Network Qt5::Network
@ -137,7 +137,6 @@ PRIVATE
KF5::Declarative KF5::Declarative
KF5::XmlGui KF5::XmlGui
KF5::GlobalAccel KF5::GlobalAccel
KF5::DNSSD
${PLASMA_EXTRA_LIBS} ${PLASMA_EXTRA_LIBS}
) )

View File

@ -31,9 +31,6 @@
#include <kplugininfo.h> #include <kplugininfo.h>
#include <klocalizedstring.h> #include <klocalizedstring.h>
#include <dnssd/publicservice.h>
#include <dnssd/servicebrowser.h>
#include "plasma/configloader.h" #include "plasma/configloader.h"
namespace Plasma namespace Plasma
@ -77,8 +74,7 @@ class ServicePrivate
public: public:
ServicePrivate(Service *service) ServicePrivate(Service *service)
: q(service), : q(service),
dummyConfig(0), dummyConfig(0)
publicService(0)
{ {
} }
@ -99,7 +95,6 @@ public:
QString resourcename; QString resourcename;
QMap<QString, QVariantMap> operationsMap; QMap<QString, QVariantMap> operationsMap;
KConfig *dummyConfig; KConfig *dummyConfig;
KDNSSD::PublicService *publicService;
QSet<QString> disabledOperations; QSet<QString> disabledOperations;
}; };

View File

@ -31,8 +31,6 @@
#include <kservicetypetrader.h> #include <kservicetypetrader.h>
#include <ksharedconfig.h> #include <ksharedconfig.h>
#include <dnssd/publicservice.h>
#include <dnssd/servicebrowser.h>
#include <qstandardpaths.h> #include <qstandardpaths.h>
#include "configloader.h" #include "configloader.h"