diff --git a/kcmkwin/kwincompositing/effectconfig.cpp b/kcmkwin/kwincompositing/effectconfig.cpp index 85ce1a496c..7ce873fd20 100644 --- a/kcmkwin/kwincompositing/effectconfig.cpp +++ b/kcmkwin/kwincompositing/effectconfig.cpp @@ -63,7 +63,8 @@ void EffectConfig::openConfig(const QString &effectName) KService::List offers = KServiceTypeTrader::self()->query("KWin/Effect"); for(KService::Ptr service : offers) { - KPluginInfo plugin(service); + const QString effectPluginPath = QStandardPaths::locate(QStandardPaths::GenericDataLocation, "kde5/services/"+ service->entryPath(), QStandardPaths::LocateFile); + KPluginInfo plugin(effectPluginPath); if (plugin.name() == effectName) { QString effectConfig = effectName.toLower().remove(" ") + "_config"; KCModuleProxy *proxy = new KCModuleProxy(effectConfig);