Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
System
Dolphin
Commits
946b911a
Commit
946b911a
authored
Sep 30, 2021
by
Alexander Lohnau
💬
Browse files
Utilize KXMLGUI API to store state config in separate file
CCBUG: 397602
parent
73082d2e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/dolphinmainwindow.cpp
View file @
946b911a
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment