summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/widgets/qabstractspinbox/CMakeLists.txt
diff options
context:
space:
mode:
authorAxel Spoerl <axel.spoerl@qt.io>2024-05-13 17:36:26 +0200
committerAxel Spoerl <axel.spoerl@qt.io>2024-05-21 21:03:28 +0200
commit71d0de98359decfcc9be01a0ed5823a9595ef5d4 (patch)
treebe6523a161d4a967828c4985e16c7c1721301948 /tests/auto/widgets/widgets/qabstractspinbox/CMakeLists.txt
parente771e5e2d7ae77f46d01f087242e0f777fdc02ac (diff)
QKdeTheme: update color scheme with unknown desktop themeHEADdev
When a KDE theme name doesn't contain the keywords "dark" or "light", QKdeThemePrivate::updateColorScheme() falls back to heuristics. It compares text and base color. It sets the color scheme to dark, if text is lighter than base and otherwise to light. When the theme name can't be read from KDE settings, because it is stored on a different location or not yet set, the heuristics fallback doesn't happen. The color scheme always becomes "Unknown". Remove this limitation to the benefit of currently unsupported Linuxes. Fixes: QTBUG-125285 Pick-to: 6.7 Change-Id: I120dd23eee71b14ea8ce3735c3f53bda2caa403e Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'tests/auto/widgets/widgets/qabstractspinbox/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions