diff options
| author | Elvis Angelaccio <[email protected]> | 2019-09-02 23:18:33 +0200 |
|---|---|---|
| committer | Elvis Angelaccio <[email protected]> | 2019-09-02 23:18:33 +0200 |
| commit | 3df68fb667a9d0df0bfe53ff762c88b9fcde28f6 (patch) | |
| tree | 4cd658cfd0a9491713de2293ad167220516a52ce /src/main.cpp | |
| parent | 63c195b7ed9fa11c91dfed59bf00d65b66426339 (diff) | |
| parent | a6403716439ae72bfdf86a14af94ea9d212f08ee (diff) | |
Merge branch 'Applications/19.08'
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp index 8981b54bc..a4685f257 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -116,9 +116,6 @@ extern "C" Q_DECL_EXPORT int kdemain(int argc, char **argv) KAboutData::setApplicationData(aboutData); - KDBusService dolphinDBusService; - DBusInterface interface; - QCommandLineParser parser; aboutData.setupCommandLine(&parser); @@ -139,6 +136,8 @@ extern "C" Q_DECL_EXPORT int kdemain(int argc, char **argv) QList<QUrl> urls = Dolphin::validateUris(args); if (parser.isSet(QStringLiteral("daemon"))) { + KDBusService dolphinDBusService; + DBusInterface interface; return app.exec(); } @@ -178,5 +177,8 @@ extern "C" Q_DECL_EXPORT int kdemain(int argc, char **argv) } } + KDBusService dolphinDBusService; + DBusInterface interface; + return app.exec(); // krazy:exclude=crash; } |
