mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-28 22:53:09 +00:00
Disable disco light when changing brightness
This commit is contained in:
parent
7f4375d0d9
commit
c8cdb9616d
1 changed files with 2 additions and 0 deletions
|
|
@ -71,7 +71,9 @@ Item {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
onDataChanged: {
|
onDataChanged: {
|
||||||
|
disableBrightnessUpdate = true;
|
||||||
root.screenBrightness = pmSource.data["PowerDevil"]["Screen Brightness"];
|
root.screenBrightness = pmSource.data["PowerDevil"]["Screen Brightness"];
|
||||||
|
disableBrightnessUpdate = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//HACK: make the list know about the applet delegate which is a qtobject
|
//HACK: make the list know about the applet delegate which is a qtobject
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue