diff options
Diffstat (limited to 'accounts/gkleen@sif/shell/quickshell/Services')
-rw-r--r-- | accounts/gkleen@sif/shell/quickshell/Services/Brightness.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/accounts/gkleen@sif/shell/quickshell/Services/Brightness.qml b/accounts/gkleen@sif/shell/quickshell/Services/Brightness.qml index 545ef24f..87c7c05b 100644 --- a/accounts/gkleen@sif/shell/quickshell/Services/Brightness.qml +++ b/accounts/gkleen@sif/shell/quickshell/Services/Brightness.qml | |||
@@ -26,11 +26,11 @@ Singleton { | |||
26 | Component.onCompleted: root.currBrightness = root.calcCurrBrightness() | 26 | Component.onCompleted: root.currBrightness = root.calcCurrBrightness() |
27 | Connections { | 27 | Connections { |
28 | target: currFile | 28 | target: currFile |
29 | onLoaded: root.currBrightness = root.calcCurrBrightness() | 29 | function onLoaded() { root.currBrightness = root.calcCurrBrightness(); } |
30 | } | 30 | } |
31 | Connections { | 31 | Connections { |
32 | target: maxFile | 32 | target: maxFile |
33 | onLoaded: root.currBrightness = root.calcCurrBrightness() | 33 | function onLoaded() { root.currBrightness = root.calcCurrBrightness(); } |
34 | } | 34 | } |
35 | 35 | ||
36 | onCurrBrightnessChanged: { | 36 | onCurrBrightnessChanged: { |