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
b497dc9c
Commit
b497dc9c
authored
Sep 30, 2021
by
Alexander Lohnau
💬
Browse files
Save size of config dialog in state config
CCBUG: 397602
parent
946b911a
Pipeline
#90511
passed with stage
in 5 minutes and 8 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
src/settings/dolphinsettingsdialog.cpp
View file @
b497dc9c
...
...
@@ -130,13 +130,13 @@ DolphinSettingsDialog::DolphinSettingsDialog(const QUrl& url, QWidget* parent, K
}
#endif
const
KConfigGroup
dialogConfig
(
KSharedConfig
::
openConfig
(
QStringLiteral
(
"dolphinrc"
)
),
"SettingsDialog"
);
const
KConfigGroup
dialogConfig
(
KSharedConfig
::
open
State
Config
(),
"SettingsDialog"
);
KWindowConfig
::
restoreWindowSize
(
windowHandle
(),
dialogConfig
);
}
DolphinSettingsDialog
::~
DolphinSettingsDialog
()
{
KConfigGroup
dialogConfig
(
KSharedConfig
::
openConfig
(
QStringLiteral
(
"dolphinrc"
)
),
"SettingsDialog"
);
KConfigGroup
dialogConfig
(
KSharedConfig
::
open
State
Config
(),
"SettingsDialog"
);
KWindowConfig
::
saveWindowSize
(
windowHandle
(),
dialogConfig
);
}
...
...
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