aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMohammadHossein Qanbari <[email protected]>2025-04-07 11:18:23 +0200
committerMohammadHossein Qanbari <[email protected]>2025-04-11 15:50:24 +0200
commit7c7fb14d624ff91fc9969df9dc646aa1cb04bd3d (patch)
tree761ebbcf3feb1e7e764466fa329488e0b854db0a
parent916f5b51c8ec3595e054e4bf8e62949258a552ee (diff)
Quick Basic Style: remove redundant wrapping
Amends 52141b34ecd16b33e9879fc1047c6f9c3dfde6da Change-Id: I59b4228a3ccbb38ae9fc3defaea12dbda04026a8 Reviewed-by: Mitch Curtis <[email protected]>
-rw-r--r--src/quickcontrols/basic/qquickbasictheme.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quickcontrols/basic/qquickbasictheme.cpp b/src/quickcontrols/basic/qquickbasictheme.cpp
index 735b4e9569..70c6372f52 100644
--- a/src/quickcontrols/basic/qquickbasictheme.cpp
+++ b/src/quickcontrols/basic/qquickbasictheme.cpp
@@ -31,7 +31,7 @@ void QQuickBasicTheme::initialize(QQuickTheme *theme)
const QRgb midlight(isDarkSystemTheme ? 0xFF2C2C2C : 0xFFE4E4E4);
const QRgb text(isDarkSystemTheme ? 0xFFEFF0F2 : 0xFF353637);
const QRgb disabledText(isDarkSystemTheme ? 0x7FC8C9CB : 0x7F353637);
- const QRgb shadow(isDarkSystemTheme ? 0xFF28282A : 0xFF28282A);
+ const QRgb shadow(0xFF28282A); // using the same color for dark and light
const QRgb toolTipBase(isDarkSystemTheme ? 0xFF000000 : 0xFFFFFFFF);
const QRgb toolTipText(isDarkSystemTheme ? 0xFFFFFFFF : 0xFF000000);
const QRgb window(isDarkSystemTheme ? 0xFF000000 : 0xFFFFFFFF);