]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/main.cpp
GIT_SILENT Update Appstream for new release
[dolphin.git] / src / main.cpp
index 802e64d2579352b70a32752da732ffdb2d379fb4..f0336f6284f7ea32c7788a238cc63697767a7e8b 100644 (file)
@@ -178,6 +178,9 @@ extern "C" Q_DECL_EXPORT int kdemain(int argc, char **argv)
 
     mainWindow->show();
 
+    KDBusService dolphinDBusService;
+    DBusInterface interface;
+
     if (!app.isSessionRestored()) {
         KConfigGui::setSessionConfig(QStringLiteral("dolphin"), QStringLiteral("dolphin"));
     }
@@ -200,8 +203,5 @@ extern "C" Q_DECL_EXPORT int kdemain(int argc, char **argv)
         }
     }
 
-    KDBusService dolphinDBusService;
-    DBusInterface interface;
-
     return app.exec(); // krazy:exclude=crash;
 }