[plasma/plasma-bigscreen] 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 f66672cfc069efc02c15c40597f1753a6aeba9a9 by Devin Lin, on behalf of User8395.
Committed on 26/07/2026 at 01:59.
Pushed by devinlin into branch 'master'.
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.
M +2 -2 kcms/bigscreen-settings/ui/main.qml
https://invent.kde.org/plasma/plasma-bigscreen/-/commit/f66672cfc069efc02c15c40597f1753a6aeba9a9
diff --git a/kcms/bigscreen-settings/ui/main.qml b/kcms/bigscreen-settings/ui/main.qml
index 0f5c0c29..5d866c4a 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 {