mirror of
https://invent.kde.org/system/dolphin
synced 2024-10-28 03:21:56 +00:00
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
This commit is contained in:
parent
00e4571e3c
commit
ce981c3e4a
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue