Commit 3ad7165e authored by Jan Grulich's avatar Jan Grulich
Browse files

Fix installation of kded module

parent ccde7a9d
......@@ -28,7 +28,7 @@ else()
)
endif()
add_library(kded_networkmanagement ${kded_networkmanagement_SRCS})
add_library(kded_networkmanagement MODULE ${kded_networkmanagement_SRCS})
target_link_libraries(kded_networkmanagement
plasmanetworkmanagement-internal
......
......@@ -54,7 +54,6 @@ NetworkManagementService::NetworkManagementService(QObject * parent, const QVari
#warning "port translatin catalog away from KGlobal::insertCatalog"
//KGlobal::insertCatalog("plasma_applet_org.kde.plasma.networkmanagement"); // mobile wizard
// QDBusReply<bool> reply = QDBusConnection::sessionBus().interface()->isServiceRegistered("org.kde.plasma-desktop");
// if (reply.value()) {
doInitialization();
......@@ -81,6 +80,7 @@ void NetworkManagementService::doInitialization()
{
Q_D(NetworkManagementService);
qDebug() << "Doing inicialization";
d->agent = new SecretAgent(this);
new Notification(this);
#if WITH_MODEMMANAGER_SUPPORT
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment