Commit 9a5d34cf authored by Marco Martin's avatar Marco Martin
Browse files

default value as false

this should also fix compilation on Qt6
parent eca9b504
Pipeline #172612 passed with stage
in 28 minutes and 39 seconds
......@@ -161,7 +161,7 @@ void KWinScreenEdgesConfig::monitorInit()
const auto scripts = KPackage::PackageLoader::self()->listPackages(QStringLiteral("KWin/Script"), scriptFolder);
for (const KPluginMetaData &script : scripts) {
if (script.value(QStringLiteral("X-KWin-Border-Activate")) != true) {
if (script.value(QStringLiteral("X-KWin-Border-Activate"), false) != true) {
continue;
}
......
......@@ -158,7 +158,7 @@ void KWinScreenEdgesConfig::monitorInit()
const auto scripts = KPackage::PackageLoader::self()->listPackages(QStringLiteral("KWin/Script"), scriptFolder);
for (const KPluginMetaData &script : scripts) {
if (script.value(QStringLiteral("X-KWin-Border-Activate")) != true) {
if (script.value(QStringLiteral("X-KWin-Border-Activate"), false) != true) {
continue;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment