From c10b47d2e6c15c080a67bea48fad34522439b8b0 Mon Sep 17 00:00:00 2001 From: Nicolas Mailloux Date: Mon, 1 Aug 2022 18:29:20 -0400 Subject: [PATCH] IPD: Small fixes --- src/settings/powerdaemonsettings.cpp | 3 +-- src/settings/powerdaemonsettings.ui | 34 ++++++++++++++-------------- 2 files changed, 18 insertions(+), 19 deletions(-) diff --git a/src/settings/powerdaemonsettings.cpp b/src/settings/powerdaemonsettings.cpp index 934c405..53a635a 100644 --- a/src/settings/powerdaemonsettings.cpp +++ b/src/settings/powerdaemonsettings.cpp @@ -373,8 +373,7 @@ void powerDaemonSettings::on_deepSleepBtn_clicked(bool checked) } } -void powerDaemonSettings::convertCinematicInt() -{ +void powerDaemonSettings::convertCinematicInt() { QString text = QString::number(cinematicBrightnessInt); // To avoid moving other widgets when the value changes text.append("ms"); diff --git a/src/settings/powerdaemonsettings.ui b/src/settings/powerdaemonsettings.ui index f3adb32..2bd80b4 100644 --- a/src/settings/powerdaemonsettings.ui +++ b/src/settings/powerdaemonsettings.ui @@ -75,7 +75,7 @@ 0 0 680 - 553 + 545 @@ -114,15 +114,15 @@ - + - 50 - false + 75 + true - Cinematic brightness speed + 50 @@ -137,15 +137,15 @@ - + - 75 - true + 50 + false - 50 + Cinematic brightness speed @@ -241,15 +241,15 @@ - + - 50 - false + 75 + true - Sleep when idle + Idle sleep number @@ -264,15 +264,15 @@ - + - 75 - true + 50 + false - 60 + Sleep when idle