--- settings-backend/kconfig_backend.cpp | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/settings-backend/kconfig_backend.cpp b/settings-backend/kconfig_backend.cpp index 9344b13..58038d0 100644 --- a/settings-backend/kconfig_backend.cpp +++ b/settings-backend/kconfig_backend.cpp @@ -56,7 +56,7 @@ static KInstance *instance = NULL; typedef struct _ConfigFiles { - KSimpleConfig *main; + KConfig *main; QString profile; KConfig *kwin; KConfig *global; @@ -474,7 +474,7 @@ readSetting (CCSContext *c, CCSSetting *setting) { - KSimpleConfig *cfg = cFiles->main; + KConfig *cfg = cFiles->main; QString key (setting->name); QString group (setting->parent->name); @@ -986,7 +986,7 @@ static void writeSetting (CCSContext *c, CCSSetting *setting) { - KSimpleConfig *cfg = cFiles->main; + KConfig *cfg = cFiles->main; QString key (setting->name); QString group (setting->parent->name); @@ -1329,7 +1329,7 @@ readInit (CCSContext *c) delete cFiles->main; - cFiles->main = new KSimpleConfig (configName); + cFiles->main = new KConfig (configName); ccsRemoveFileWatch (cFiles->watch); QString wFile = KGlobal::dirs()->saveLocation ("config", QString::null, false) + configName; @@ -1363,7 +1363,7 @@ writeInit (CCSContext *c) delete cFiles->main; - cFiles->main = new KSimpleConfig (configName); + cFiles->main = new KConfig (configName); ccsRemoveFileWatch (cFiles->watch); QString wFile = KGlobal::dirs()->saveLocation ("config", QString::null, false) + configName; @@ -1401,7 +1401,7 @@ init (CCSContext *c) cFiles->profile = ccsGetProfile (c); } - cFiles->main = new KSimpleConfig (configName); + cFiles->main = new KConfig (configName); cFiles->kwin = new KConfig ("kwinrc", true); cFiles->global = new KConfig ("kdeglobals", true); -- 1.5.2.4 --=-JKJEo0QaMHFoQml1BvGW Content-Disposition: attachment; filename=0006-Never-delete-entries.patch Content-Type: application/mbox; name=0006-Never-delete-entries.patch Content-Transfer-Encoding: 7bit