[plasma/plasma-bigscreen/Plasma/6.7] kcms/bigscreen-settings/ui: kcms/bigscreen-settings/main.qml: fix pmInhibitionEnabled config variable being referenced as pmInhibitionActive

Devin Lin <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit f87d6f19c726b903cd5246af9bb09ae5b6a52e95 by Devin Lin.
Committed on 26/07/2026 at 02:01.
Pushed by devinlin into branch 'Plasma/6.7'.

kcms/bigscreen-settings/main.qml: fix pmInhibitionEnabled config variable being referenced as pmInhibitionActive

BUG: 523295

In f968c1df, the shell settings variable pmInhibitionActive was renamed to pmInhibitionEnabled, but the toggle for this setting was still referencing the old variable, preventing it from working.


(cherry picked from commit f66672cfc069efc02c15c40597f1753a6aeba9a9)

81b37b54 kcms/bigscreen-settings/main.qml: fix pmInhibitionEnabled config variable...

Co-authored-by: User8395 <[email protected]>

M  +2    -2    kcms/bigscreen-settings/ui/main.qml

https://invent.kde.org/plasma/plasma-bigscreen/-/commit/f87d6f19c726b903cd5246af9bb09ae5b6a52e95

diff --git a/kcms/bigscreen-settings/ui/main.qml b/kcms/bigscreen-settings/ui/main.qml
index b647fe7c..009af1ee 100644
--- a/kcms/bigscreen-settings/ui/main.qml
+++ b/kcms/bigscreen-settings/ui/main.qml
@@ -122,8 +122,8 @@ Bigscreen.ScrollablePage {
 
             text: i18n("Power inhibition")
             description: i18n("Prevent the system from automatically sleeping")
-            checked: BigscreenShell.Settings.pmInhibitionActive ? true : false
-            onCheckedChanged: BigscreenShell.Settings.pmInhibitionActive = checked
+            checked: BigscreenShell.Settings.pmInhibitionEnabled ? true : false
+            onCheckedChanged: BigscreenShell.Settings.pmInhibitionEnabled = checked
         }
 
         Bigscreen.ButtonDelegate {
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.