┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEmmanuel Pescosta <[email protected]>2015-02-04 10:29:33 +0100
committerEmmanuel Pescosta <[email protected]>2015-02-04 10:29:33 +0100
commit1b3ea64abb0579e71ce1dfa490a0805b399be930 (patch)
tree97c39add59ed4ac5efc060ce95ea74d02a981675 /src
parentc7258487094c7e16258ad90e384c3a87605dfc95 (diff)
Add dolphin dbus service
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt1
-rw-r--r--src/main.cpp3
2 files changed, 4 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 6ae11c833..0c31ed936 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -237,6 +237,7 @@ target_link_libraries(kdeinit_dolphin
KF5::KDELibs4Support
KF5::I18n
KF5::CoreAddons
+ KF5::DBusAddons
)
if (KF5Activities_FOUND)
diff --git a/src/main.cpp b/src/main.cpp
index ed4cfff20..ed4c9f9d8 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -22,6 +22,7 @@
#include "dolphinmainwindow.h"
#include "dolphin_generalsettings.h"
+#include <KDBusService>
#include <KAboutData>
#include <QCommandLineParser>
#include <QCommandLineOption>
@@ -75,6 +76,8 @@ extern "C" Q_DECL_EXPORT int kdemain(int argc, char **argv)
KAboutData::setApplicationData(aboutData);
+ KDBusService dolphinDBusService;
+
QCommandLineParser parser;
parser.addVersionOption();
parser.addHelpOption();