appletsrc files are SimpleConfigs

cascading, let alone kdeglobals, make no sense whatsoever for them. so just skip that overhead.
This commit is contained in:
Aaron Seigo 2011-12-12 09:22:19 +01:00
parent cf8128ca17
commit 7491b9e71f

View File

@ -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;