From b1e121397d2443892f97941e5e0d2d7e2e90e2fa Mon Sep 17 00:00:00 2001 From: Alexander Lohnau Date: Sun, 24 Oct 2021 18:10:31 +0200 Subject: [PATCH] GIT_SILENT Make kwin effects namespace not end with trailing slash For the static plugins an exact string match is required --- src/effectloader.cpp | 2 +- src/kcmkwin/common/effectsmodel.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;