Revert 236d4c8 for EffectsHanlder::effectConfig
EffectConfig is used also in the config modules which means kwinrc needs to be explicitly specified. BUG: 299163 REVIEW: 104808
This commit is contained in:
parent
8e8212b0ef
commit
eb5aa92746
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue