From d1261f6586ab5d91e81c04ca0f586e35ee6fb8a6 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 10 Sep 2025 16:26:09 +0200 Subject: ... --- accounts/gkleen@sif/shell/quickshell/Services/Brightness.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'accounts/gkleen@sif/shell/quickshell/Services') 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 { Component.onCompleted: root.currBrightness = root.calcCurrBrightness() Connections { target: currFile - onLoaded: root.currBrightness = root.calcCurrBrightness() + function onLoaded() { root.currBrightness = root.calcCurrBrightness(); } } Connections { target: maxFile - onLoaded: root.currBrightness = root.calcCurrBrightness() + function onLoaded() { root.currBrightness = root.calcCurrBrightness(); } } onCurrBrightnessChanged: { -- cgit v1.2.3