summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread/qthreadpool.cpp
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2023-09-07 17:18:13 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2023-09-08 07:20:03 +0200
commit6cf4c5b98fb0e3f30379d79003ab587aadebbce7 (patch)
treeeaefb97f24b520b29fa10d4bcc497147d4e73139 /src/corelib/thread/qthreadpool.cpp
parentc8fb928029d92f78ecfd70f9c3bf7efc41fe7485 (diff)
CoreText: Resolve color scheme (dark mode) via the platform theme
We might be drawing glyphs outside the main thread, which triggers the main thread checker for our access to NSApplication from qt_mac_applicationIsInDarkMode(). Change the CoreText font engine to pull out this information from the theme instead, and teach the theme to only updates its color scheme on the main thread. Pick-to: 6.6 Change-Id: I02be713d9705c6e0c21107db7f7de039182f601d Reviewed-by: Doris Verria <doris.verria@qt.io> Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/corelib/thread/qthreadpool.cpp')
0 files changed, 0 insertions, 0 deletions