Fix the kwin KCM to read cascaded configs

REVIEW: 106498
This commit is contained in:
Rohan Garg 2012-09-20 23:22:17 +05:30
parent 371a29096b
commit dba3ae6400

View file

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