diff --git a/libkwineffects/kwineffects.cpp b/libkwineffects/kwineffects.cpp index 1737ceb554..135c9ae165 100644 --- a/libkwineffects/kwineffects.cpp +++ b/libkwineffects/kwineffects.cpp @@ -271,7 +271,8 @@ void EffectsHandler::sendReloadMessage(const QString& effectname) KConfigGroup EffectsHandler::effectConfig(const QString& effectname) { - return KGlobal::config()->group("Effect-" + effectname); + KSharedConfig::Ptr kwinconfig = KSharedConfig::openConfig("kwinrc", KConfig::NoGlobals); + return kwinconfig->group("Effect-" + effectname); } EffectsHandler* effects = 0;