diff --git a/lib/kwineffects.cpp b/lib/kwineffects.cpp index 204c4044cf..a4a3de4a38 100644 --- a/lib/kwineffects.cpp +++ b/lib/kwineffects.cpp @@ -282,7 +282,7 @@ void EffectsHandler::sendReloadMessage( const QString& effectname ) KConfigGroup EffectsHandler::effectConfig( const QString& effectname ) { - KSharedConfig::Ptr kwinconfig = KSharedConfig::openConfig( "kwinrc", KConfig::CascadeConfig ); + KSharedConfig::Ptr kwinconfig = KSharedConfig::openConfig( "kwinrc", KConfig::NoGlobals ); return kwinconfig->group( "Effect-" + effectname ); } diff --git a/options.cpp b/options.cpp index 37658ffab1..30da5325a0 100644 --- a/options.cpp +++ b/options.cpp @@ -85,7 +85,7 @@ unsigned long Options::updateSettings() if( !focusPolicyIsReasonable()) // #48786, comments #7 and later focusStealingPreventionLevel = 0; - KConfig *gc = new KConfig("kdeglobals", KConfig::CascadeConfig); + KConfig *gc = new KConfig("kdeglobals", KConfig::NoGlobals); bool isVirtual = KApplication::desktop()->isVirtualDesktop(); KConfigGroup gWindowsConfig(gc, "Windows"); xineramaEnabled = gWindowsConfig.readEntry ("XineramaEnabled", isVirtual) &&