default value as false
this should also fix compilation on Qt6
This commit is contained in:
parent
eca9b5047a
commit
9a5d34cf6c
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue