From 7491b9e71f2ab986e5da64cf71a6867d6a3aa3a9 Mon Sep 17 00:00:00 2001 From: Aaron Seigo Date: Mon, 12 Dec 2011 09:22:19 +0100 Subject: [PATCH] appletsrc files are SimpleConfigs cascading, let alone kdeglobals, make no sense whatsoever for them. so just skip that overhead. --- corona.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;