Disable disco light when changing brightness

This commit is contained in:
Bhushan Shah 2018-11-12 12:45:17 +05:30
parent 7f4375d0d9
commit c8cdb9616d

View file

@ -71,7 +71,9 @@ Item {
}
}
onDataChanged: {
disableBrightnessUpdate = true;
root.screenBrightness = pmSource.data["PowerDevil"]["Screen Brightness"];
disableBrightnessUpdate = false;
}
}
//HACK: make the list know about the applet delegate which is a qtobject