diff options
| author | Oliver Eftevaag <oliver.eftevaag@qt.io> | 2025-07-23 14:32:16 +0200 |
|---|---|---|
| committer | Oliver Eftevaag <oliver.eftevaag@qt.io> | 2025-07-29 16:45:52 +0200 |
| commit | ca004ffd0c716b7fcbf693517ea416db64338b10 (patch) | |
| tree | 2482e6824c20bd8f67b06b4a890943e05c17c59e /src/corelib/doc/snippets | |
| parent | 26c24bae7776e7cff83e5ea834e7f679ba59250f (diff) | |
Get accent color from GetSysColor for high contrast without winrt
When Qt for Windows isn't using cpp_winrt, the accent color would
be retreived from the Windows registry. This color would be different
from what native WinUI controls would use, which instead is the
COLOR_HIGHLIGHT value from GetSysColor.
Fix this by using GetSysColor, when a contrast theme is enabled, instead
of the value read from the Windows registry.
Pick-to: 6.10
Done-with: MohammadHossein Qanbari <mohammad.qanbari@qt.io>
Change-Id: If7025d4f52223abd6160feeb065df6b68b8fb2b5
Reviewed-by: Wladimir Leuschner <wladimir.leuschner@qt.io>
Reviewed-by: MohammadHossein Qanbari <mohammad.qanbari@qt.io>
Diffstat (limited to 'src/corelib/doc/snippets')
0 files changed, 0 insertions, 0 deletions
