Commit 3b2aad70 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix save/load settings

parent b4b4bf03
......@@ -54,10 +54,14 @@ void DKIMManagerAuthenticationServer::setServerList(const QStringList &serverLis
void DKIMManagerAuthenticationServer::load()
{
//TODO
const KSharedConfig::Ptr &config = KSharedConfig::openConfig(MessageViewer::DKIMUtil::defaultConfigFileName(), KConfig::NoGlobals);
KConfigGroup grp(config, "AuthenticationServer");
mServerList = grp.readEntry("ServerList", QStringList());
}
void DKIMManagerAuthenticationServer::save()
{
//TODO
const KSharedConfig::Ptr &config = KSharedConfig::openConfig(MessageViewer::DKIMUtil::defaultConfigFileName(), KConfig::NoGlobals);
KConfigGroup grp(config, "AuthenticationServer");
grp.writeEntry("ServerList", mServerList);
}
Markdown is supported
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