summaryrefslogtreecommitdiffstats
path: root/qmake/generators/win32/msvc_nmake.cpp
diff options
context:
space:
mode:
authorTimur Pocheptsov <timur.pocheptsov@qt.io>2019-03-20 15:59:18 +0100
committerTimur Pocheptsov <timur.pocheptsov@qt.io>2019-03-27 05:59:21 +0000
commita868942b11a586861e167aaafaa9c65fde23e88d (patch)
tree4d5b00d34e927333c7b617d6efa33f5577e89eb2 /qmake/generators/win32/msvc_nmake.cpp
parent1a8aa8186693d8549d0bca774fdb6ceb0b9ad850 (diff)
QMacStyle - workaround NSButtonCell (disclose button type)
Under the 'Dark' theme as a system one, in an application forcing 'Aqua' (and thus 'Light') appearance, disclose button (drawn as a triangle) can suddenly become transparent (apparently selecting a 'Dark' codepath internally). Different ways to fix this (attaching NSButton to a view, setting appearance on this button manually, etc.) - all seems to have no effect. We resort to manually drawing this button on macOS > 10.14 if 'effectiveAppearance' is 'Aqua'. Change-Id: I6f54c0c4cf8fdd1ba53263ba9535e3055be46d42 Fixes: QTBUG-74515 Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'qmake/generators/win32/msvc_nmake.cpp')
0 files changed, 0 insertions, 0 deletions