diff --git a/kcmkwin/kwincompositing/effectconfig.cpp b/kcmkwin/kwincompositing/effectconfig.cpp index 5ea433596e..ee4eb03f66 100644 --- a/kcmkwin/kwincompositing/effectconfig.cpp +++ b/kcmkwin/kwincompositing/effectconfig.cpp @@ -65,7 +65,7 @@ void EffectConfig::openConfig(const QString &serviceName, bool scripted, const Q } } else { kcm = KPluginTrader::createInstanceFromQuery(s_pluginDir, QString(), - QStringLiteral("[X-KDE-ParentComponents] == '%1'").arg(serviceName), + QStringLiteral("'%1' in [X-KDE-ParentComponents]").arg(serviceName), &dialog); } if (!kcm) { diff --git a/kcmkwin/kwindesktop/main.cpp b/kcmkwin/kwindesktop/main.cpp index c736924660..87c8606d78 100644 --- a/kcmkwin/kwindesktop/main.cpp +++ b/kcmkwin/kwindesktop/main.cpp @@ -619,7 +619,7 @@ void KWinDesktopConfig::slotConfigureEffectClicked() QPointer configDialog = new QDialog(this); KCModule *kcm = KPluginTrader::createInstanceFromQuery(QStringLiteral("kwin/effects/configs/"), QString(), - QStringLiteral("[X-KDE-ParentComponents] == '%1'").arg(effect), + QStringLiteral("'%1' in [X-KDE-ParentComponents]").arg(effect), configDialog); if (!kcm) { delete configDialog; diff --git a/kcmkwin/kwintabbox/main.cpp b/kcmkwin/kwintabbox/main.cpp index 632f4643df..a97bdfa596 100644 --- a/kcmkwin/kwintabbox/main.cpp +++ b/kcmkwin/kwintabbox/main.cpp @@ -539,7 +539,7 @@ void KWinTabBoxConfig::configureEffectClicked() const QString name = BuiltInEffects::nameForEffect(effect == CoverSwitch ? BuiltInEffect::CoverSwitch : BuiltInEffect::FlipSwitch); KCModule *kcm = KPluginTrader::createInstanceFromQuery(QStringLiteral("kwin/effects/configs/"), QString(), - QStringLiteral("[X-KDE-ParentComponents] == '%1'").arg(name), + QStringLiteral("'%1' in [X-KDE-ParentComponents]").arg(name), configDialog); if (!kcm) { delete configDialog;