Commit ce981c3e authored by Antonio Rojas's avatar Antonio Rojas Committed by Nate Graham
Browse files

Fix "Show folders, tabs, and window state from last time" feature

We were using the DBus interface before declaring it, oops.

BUG: 422300
FIXED-IN: 20.08.0
parent 00e4571e
......@@ -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;
}
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