From 7d37d5dc17861bf9099e98e2f10fed4c607eb209 Mon Sep 17 00:00:00 2001 From: lysec Date: Sun, 12 Oct 2025 10:20:09 +0200 Subject: [PATCH] OSD: hide initial brightness update (prevent showing brightness osd on startup) --- Modules/OSD/OSD.qml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Modules/OSD/OSD.qml b/Modules/OSD/OSD.qml index 7ca3998d..873933ba 100644 --- a/Modules/OSD/OSD.qml +++ b/Modules/OSD/OSD.qml @@ -42,6 +42,7 @@ Variants { // Brightness properties property real lastUpdatedBrightness: 0 readonly property real currentBrightness: lastUpdatedBrightness + property bool brightnessInitialized: false // Get appropriate icon based on current OSD type function getIcon() { @@ -547,6 +548,12 @@ Variants { function onBrightnessChanged(newBrightness) { root.lastUpdatedBrightness = newBrightness + + if (!brightnessInitialized) { + brightnessInitialized = true + return + } + showOSD("brightness") }