From 8f9dd31a1a6eb9b38a840383e6dec7a114add1a2 Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Thu, 30 May 2024 04:14:30 +0300 Subject: [PATCH] kwin: fix diminactive effect configuration interface runtime warning kcfg_sliderStrength was not valid kcfg entry, KIntNumInput provides slider anyway Signed-off-by: Ivailo Monev --- .../effects/diminactive/diminactive_config.ui | 119 +++++------------- 1 file changed, 33 insertions(+), 86 deletions(-) diff --git a/kwin/effects/diminactive/diminactive_config.ui b/kwin/effects/diminactive/diminactive_config.ui index 35f91ac5..a555465b 100644 --- a/kwin/effects/diminactive/diminactive_config.ui +++ b/kwin/effects/diminactive/diminactive_config.ui @@ -11,34 +11,6 @@ - - - - Apply effect to &panels - - - - - - - Apply effect to the desk&top - - - - - - - Apply effect to &keep-above windows - - - - - - - Apply effect to &groups - - - @@ -50,28 +22,6 @@ - - - - 120 - 0 - - - - 1 - - - 100 - - - 25 - - - Qt::Horizontal - - - - 1 @@ -82,9 +32,40 @@ 25 + + true + - + + + + Apply effect to &panels + + + + + + + Apply effect to the desk&top + + + + + + + Apply effect to &keep-above windows + + + + + + + Apply effect to &groups + + + + Qt::Vertical @@ -107,44 +88,10 @@ - kcfg_sliderStrength kcfg_Strength kcfg_DimPanels kcfg_DimDesktop kcfg_DimByGroup - - - kcfg_Strength - valueChanged(int) - kcfg_sliderStrength - setValue(int) - - - 288 - 29 - - - 195 - 26 - - - - - kcfg_sliderStrength - valueChanged(int) - kcfg_Strength - setValue(int) - - - 136 - 26 - - - 288 - 29 - - - - +