kcms/screenedges: Fix listing of effects
Effects have KWin/Effect package type.
This commit is contained in:
parent
bc6116c5a7
commit
bf602ccd44
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ void KWinScreenEdgesConfig::monitorInit()
|
||||||
m_form->monitorAddItem(i18n("Toggle alternative window switching"));
|
m_form->monitorAddItem(i18n("Toggle alternative window switching"));
|
||||||
|
|
||||||
KConfigGroup config(m_config, "Plugins");
|
KConfigGroup config(m_config, "Plugins");
|
||||||
const auto effects = KPackage::PackageLoader::self()->listPackages(QStringLiteral("KWin/Script"), QStringLiteral("kwin/builtin-effects/")) << KPackage::PackageLoader::self()->listPackages(QStringLiteral("KWin/Script"), QStringLiteral("kwin/effects/"));
|
const auto effects = KPackage::PackageLoader::self()->listPackages(QStringLiteral("KWin/Effect"), QStringLiteral("kwin/builtin-effects/")) << KPackage::PackageLoader::self()->listPackages(QStringLiteral("KWin/Effect"), QStringLiteral("kwin/effects/"));
|
||||||
|
|
||||||
for (const KPluginMetaData &effect : effects) {
|
for (const KPluginMetaData &effect : effects) {
|
||||||
if (!effect.value(QStringLiteral("X-KWin-Border-Activate"), false)) {
|
if (!effect.value(QStringLiteral("X-KWin-Border-Activate"), false)) {
|
||||||
|
|
Loading…
Reference in a new issue