diff --git a/src/effectloader.cpp b/src/effectloader.cpp index 8345585b80..5fbb33e6bf 100644 --- a/src/effectloader.cpp +++ b/src/effectloader.cpp @@ -195,7 +195,7 @@ void ScriptedEffectLoader::clear() PluginEffectLoader::PluginEffectLoader(QObject *parent) : AbstractEffectLoader(parent) , m_queue(new EffectLoadQueue< PluginEffectLoader, KPluginMetaData>(this)) - , m_pluginSubDirectory(QStringLiteral("kwin/effects/plugins/")) + , m_pluginSubDirectory(QStringLiteral("kwin/effects/plugins")) { } diff --git a/src/kcmkwin/common/effectsmodel.cpp b/src/kcmkwin/common/effectsmodel.cpp index 558771ac3d..3df74a944d 100644 --- a/src/kcmkwin/common/effectsmodel.cpp +++ b/src/kcmkwin/common/effectsmodel.cpp @@ -331,7 +331,7 @@ void EffectsModel::loadJavascriptEffects(const KConfigGroup &kwinConfig) void EffectsModel::loadPluginEffects(const KConfigGroup &kwinConfig) { - const auto pluginEffects = KPluginMetaData::findPlugins(QStringLiteral("kwin/effects/plugins/")); + const auto pluginEffects = KPluginMetaData::findPlugins(QStringLiteral("kwin/effects/plugins")); for (const KPluginMetaData &pluginEffect : pluginEffects) { if (!pluginEffect.isValid()) { continue;