Commit 724c5afb authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

Store DCCRecipientDialog window size in state config

parent bbdeca71
Pipeline #179321 passed with stage
in 2 minutes and 23 seconds
......@@ -60,7 +60,7 @@ namespace Konversation
button->setToolTip(i18n("Close the window without changes"));
button->setIcon(QIcon::fromTheme(QStringLiteral("dialog-cancel")));
KWindowConfig::restoreWindowSize(windowHandle(), KConfigGroup(KSharedConfig::openConfig(), "DCCRecipientDialog"));
KWindowConfig::restoreWindowSize(windowHandle(), KConfigGroup(KSharedConfig::openStateConfig(), "DCCRecipientDialog"));
connect(buttonBox, &QDialogButtonBox::accepted, this, &RecipientDialog::slotOk);
connect(buttonBox, &QDialogButtonBox::rejected, this, &RecipientDialog::slotCancel);
......@@ -68,7 +68,7 @@ namespace Konversation
RecipientDialog::~RecipientDialog()
{
KConfigGroup config(KSharedConfig::openConfig(), "DCCRecipientDialog");
KConfigGroup config(KSharedConfig::openStateConfig(), "DCCRecipientDialog");
KWindowConfig::saveWindowSize(windowHandle(), config);
}
......
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