From 9b30adf533dbfb710f602e542993763ae9251fac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20K=C3=BCgler?= Date: Thu, 21 Aug 2025 11:53:37 +0200 Subject: [PATCH] fix kscreenosd quicksetting MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Somehow the part that enables and disabled this quicksetting got lost while everything needed is in place. So add it, which fixes showing and hiding this quicksettings button. Signed-off-by: Sebastian Kügler --- quicksettings/kscreenosd/package/contents/ui/main.qml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/quicksettings/kscreenosd/package/contents/ui/main.qml b/quicksettings/kscreenosd/package/contents/ui/main.qml index 429a50a2..41774d94 100644 --- a/quicksettings/kscreenosd/package/contents/ui/main.qml +++ b/quicksettings/kscreenosd/package/contents/ui/main.qml @@ -13,7 +13,12 @@ QS.QuickSetting { settingsCommand: "plasma-open-settings kcm_kscreen" status: i18nc("kscreen osd quicksetting", "Tap to set up") enabled: false - available: true + available: KScreenOSDUtil.outputs > 1 + + Connections { + target: KScreenOSDUtil + onOutputsChanged: kscreenosd_qs.available = (KScreenOSDUtil.outputs > 1) + } function toggle() { console.log("Showing KScreen OSD");