diff --git a/src/kscreenintegration.cpp b/src/kscreenintegration.cpp index 1bfcb7f9e3..ecd5b4278b 100644 --- a/src/kscreenintegration.cpp +++ b/src/kscreenintegration.cpp @@ -39,7 +39,7 @@ QString connectedOutputsHash(const QVector &outputs, bool isLidClosed) QStringList hashedOutputs; hashedOutputs.reserve(outputs.count()); for (auto output : std::as_const(outputs)) { - if (output->isPlaceholder() || !output->isNonDesktop()) { + if (output->isPlaceholder() || output->isNonDesktop()) { continue; } if (output->isInternal() && isLidClosed) {