forked from Shinonome/dots-hyprland
brightness osd: fix no onBrightnessChanged signal warning
This commit is contained in:
@@ -39,8 +39,7 @@ Scope {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Connections {
|
Connections {
|
||||||
target: root.brightnessMonitor
|
target: Brightness
|
||||||
enabled: !!root.brightnessMonitor
|
|
||||||
function onBrightnessChanged() {
|
function onBrightnessChanged() {
|
||||||
if (!root.brightnessMonitor.ready) return
|
if (!root.brightnessMonitor.ready) return
|
||||||
root.triggerOsd()
|
root.triggerOsd()
|
||||||
|
|||||||
Reference in New Issue
Block a user