X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/7a959bd49fce816ea83771f24afb250c6e4e0024..e4cc6e69430049366434e3383b1d2ef283ed22cc:/src/main.cpp diff --git a/src/main.cpp b/src/main.cpp index df725a33f..f811c4f06 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -164,6 +164,9 @@ int main(int argc, char **argv) } if (parser.isSet(QStringLiteral("daemon"))) { + // Prevent KApplicationLauncherJob from cause the application to quit on job finish. + QCoreApplication::setQuitLockEnabled(false); + // Disable session management for the daemonized version // See https://bugs.kde.org/show_bug.cgi?id=417219 auto disableSessionManagement = [](QSessionManager &sm) {