From 3bff5cea4b4d5af845478f1ea09a32b196c8c5ad Mon Sep 17 00:00:00 2001 From: Bart Ribbers Date: Sat, 29 Jun 2019 13:26:50 +0200 Subject: [PATCH] Never allow setting brightness to 0 --- .../package/contents/ui/quicksettings/BrightnessItem.qml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/containments/panel/package/contents/ui/quicksettings/BrightnessItem.qml b/containments/panel/package/contents/ui/quicksettings/BrightnessItem.qml index 8107011e..240dc03c 100644 --- a/containments/panel/package/contents/ui/quicksettings/BrightnessItem.qml +++ b/containments/panel/package/contents/ui/quicksettings/BrightnessItem.qml @@ -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 } }