Commit 946b911a authored by Alexander Lohnau's avatar Alexander Lohnau
Browse files

Utilize KXMLGUI API to store state config in separate file

CCBUG: 397602
parent 73082d2e
......@@ -64,6 +64,7 @@
#include <KUrlNavigator>
#include <KWindowSystem>
#include <KXMLGUIFactory>
#include <kxmlgui_version.h>
#include <kio_version.h>
......@@ -122,6 +123,10 @@ DolphinMainWindow::DolphinMainWindow() :
setComponentName(QStringLiteral("dolphin"), QGuiApplication::applicationDisplayName());
setObjectName(QStringLiteral("Dolphin#"));
#if KXMLGUI_VERSION >= QT_VERSION_CHECK(5, 88, 0)
setStateConfigGroup("State");
#endif
connect(&DolphinNewFileMenuObserver::instance(), &DolphinNewFileMenuObserver::errorMessage,
this, &DolphinMainWindow::showErrorMessage);
......
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