Commit e27d777a authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

We can store size in KSharedConfig::openStateConfig

parent 084c822e
Pipeline #179486 passed with stage
in 2 minutes and 4 seconds
......@@ -236,7 +236,7 @@ LookupCertificatesDialog::Private::~Private() {}
void LookupCertificatesDialog::Private::readConfig()
{
KConfigGroup configGroup(KSharedConfig::openConfig(), "LookupCertificatesDialog");
KConfigGroup configGroup(KSharedConfig::openStateConfig(), "LookupCertificatesDialog");
KConfigGroup resultKeysConfig = configGroup.group("ResultKeysView");
ui.resultTV->restoreLayout(resultKeysConfig);
......@@ -249,7 +249,7 @@ void LookupCertificatesDialog::Private::readConfig()
void LookupCertificatesDialog::Private::writeConfig()
{
KConfigGroup configGroup(KSharedConfig::openConfig(), "LookupCertificatesDialog");
KConfigGroup configGroup(KSharedConfig::openStateConfig(), "LookupCertificatesDialog");
configGroup.writeEntry("Size", q->size());
KConfigGroup resultKeysConfig = configGroup.group("ResultKeysView");
......
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