From dba3ae6400e4611a181000685cf2a4f2c6869140 Mon Sep 17 00:00:00 2001 From: Rohan Garg Date: Thu, 20 Sep 2012 23:22:17 +0530 Subject: [PATCH] Fix the kwin KCM to read cascaded configs REVIEW: 106498 --- kcmkwin/kwinoptions/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kcmkwin/kwinoptions/main.cpp b/kcmkwin/kwinoptions/main.cpp index 7cd1ef0923..f319c44ff6 100644 --- a/kcmkwin/kwinoptions/main.cpp +++ b/kcmkwin/kwinoptions/main.cpp @@ -69,7 +69,7 @@ public: KWinOptions::KWinOptions(QWidget *parent, const QVariantList &) : KCModule(KWinOptionsFactory::componentData(), parent) { - mConfig = new KConfig("kwinrc", KConfig::IncludeGlobals); + mConfig = new KConfig("kwinrc"); QVBoxLayout *layout = new QVBoxLayout(this); layout->setMargin(0); @@ -182,7 +182,7 @@ void KWinOptions::moduleChanged(bool state) KActionsOptions::KActionsOptions(QWidget *parent, const QVariantList &) : KCModule(KWinOptionsFactory::componentData(), parent) { - mConfig = new KConfig("kwinrc", KConfig::IncludeGlobals); + mConfig = new KConfig("kwinrc"); QVBoxLayout *layout = new QVBoxLayout(this); layout->setMargin(0);