diff --git a/corona.cpp b/corona.cpp index 055af4e00..f9cb07d01 100644 --- a/corona.cpp +++ b/corona.cpp @@ -113,7 +113,7 @@ void Corona::saveLayout(const QString &configName) const if (configName.isEmpty() || configName == d->configName) { c = config(); } else { - c = KSharedConfig::openConfig(configName); + c = KSharedConfig::openConfig(configName, KConfig::SimpleConfig); } d->saveLayout(c); @@ -337,7 +337,7 @@ void Corona::clearContainments() KSharedConfigPtr Corona::config() const { if (!d->config) { - d->config = KSharedConfig::openConfig(d->configName); + d->config = KSharedConfig::openConfig(d->configName, KConfig::SimpleConfig); } return d->config;