appletsrc files are SimpleConfigs
cascading, let alone kdeglobals, make no sense whatsoever for them. so just skip that overhead.
This commit is contained in:
parent
cf8128ca17
commit
7491b9e71f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user