Commit 3bff5cea authored by Bart Ribbers's avatar Bart Ribbers Committed by Bhushan Shah

Never allow setting brightness to 0

parent 07735e69
......@@ -59,9 +59,7 @@ RowLayout {
id: brightnessSlider
width: parent.width
onMoved: brightnessRoot.moved()
// Don't allow the slider to turn off the screen
// Please see https://git.reviewboard.kde.org/r/122505/ for more information
from: to > 100 ? 1 : 0
from: 1
//stepSize: 1
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment