Never allow setting brightness to 0

This commit is contained in:
Bart Ribbers 2019-06-29 13:26:50 +02:00 committed by Bhushan Shah
parent 07735e696b
commit 3bff5cea4b

View file

@ -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
}
}