Commit 7daa7c1f authored by Aaron J. Seigo's avatar Aaron J. Seigo
Browse files

appletsrc files are SimpleConfigs

cascading, let alone kdeglobals, make no sense whatsoever for them. so just skip that overhead.
parent 07a4929b
......@@ -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;
......
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