GIT_SILENT Make kwin effects namespace not end with trailing slash
For the static plugins an exact string match is required
This commit is contained in:
parent
f61097f3cb
commit
b1e121397d
2 changed files with 2 additions and 2 deletions
|
@ -195,7 +195,7 @@ void ScriptedEffectLoader::clear()
|
||||||
PluginEffectLoader::PluginEffectLoader(QObject *parent)
|
PluginEffectLoader::PluginEffectLoader(QObject *parent)
|
||||||
: AbstractEffectLoader(parent)
|
: AbstractEffectLoader(parent)
|
||||||
, m_queue(new EffectLoadQueue< PluginEffectLoader, KPluginMetaData>(this))
|
, m_queue(new EffectLoadQueue< PluginEffectLoader, KPluginMetaData>(this))
|
||||||
, m_pluginSubDirectory(QStringLiteral("kwin/effects/plugins/"))
|
, m_pluginSubDirectory(QStringLiteral("kwin/effects/plugins"))
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -331,7 +331,7 @@ void EffectsModel::loadJavascriptEffects(const KConfigGroup &kwinConfig)
|
||||||
|
|
||||||
void EffectsModel::loadPluginEffects(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) {
|
for (const KPluginMetaData &pluginEffect : pluginEffects) {
|
||||||
if (!pluginEffect.isValid()) {
|
if (!pluginEffect.isValid()) {
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in a new issue