Check real palette darkness to detect "dark theme"
commit4bec9b90c47d456ba34df879bdb1374873352f99
authorVladimir Golovnev <glassez@yandex.ru>
Fri, 8 Nov 2024 08:45:16 +0000 (8 11:45 +0300)
committerGitHub <noreply@github.com>
Fri, 8 Nov 2024 08:45:16 +0000 (8 11:45 +0300)
treeffe4ed97c8d81fdf3286bf5bd65825f28d957b18
parenta6c7aef6c119fd010a049a1482401c4997541e47
Check real palette darkness to detect "dark theme"

`QStyleHints::colorScheme()` returns chosen color scheme even if current style doesn't support it and uses different palette.

PR #21771.
src/gui/uithememanager.cpp