summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qguiapplication_p.h
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2024-04-19 13:20:22 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2024-04-25 17:18:22 +0200
commitd3b0d414b03b73d3c34e98013d27201bab33202b (patch)
treebc594dce585ed6c4785b813cfdb2f1ecd6265d5e /src/gui/kernel/qguiapplication_p.h
parent4f3f7d46223b35082a3c3623042ce0c24bc41202 (diff)
ColorScheme: consolidate dark mode handling on Windows into Theme
Move storage of whether dark mode is set into a static class member of QWindowsTheme, and remove QWindowsContext::isDarkMode; ask the theme instead using the colorScheme() implementation, which will return the stored value. Move the code handling settings changes into QWindowsTheme as well. Task-number: QTBUG-124490 Change-Id: I4795e80b6ab2c94701385dc84771e9ad5578cf32 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: Wladimir Leuschner <wladimir.leuschner@qt.io> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/gui/kernel/qguiapplication_p.h')
0 files changed, 0 insertions, 0 deletions