Commit b497dc9c authored by Alexander Lohnau's avatar 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
......@@ -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::openStateConfig(), "SettingsDialog");
KWindowConfig::restoreWindowSize(windowHandle(), dialogConfig);
}
DolphinSettingsDialog::~DolphinSettingsDialog()
{
KConfigGroup dialogConfig(KSharedConfig::openConfig(QStringLiteral("dolphinrc")), "SettingsDialog");
KConfigGroup dialogConfig(KSharedConfig::openStateConfig(), "SettingsDialog");
KWindowConfig::saveWindowSize(windowHandle(), dialogConfig);
}
......
Supports Markdown
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