aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4qobjectwrapper.cpp
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <[email protected]>2025-10-24 14:36:46 +0200
committerRichard Moe Gustavsen <[email protected]>2025-12-18 17:29:48 +0100
commit8a650ed550ea65a62ecce7f472838cc0ba53d5e4 (patch)
tree365d8732101c49cb4e10162c8e2f70b5d85b04ff /src/qml/jsruntime/qv4qobjectwrapper.cpp
parenta89bad645801060d54c3d7e60224b09652b4b0a6 (diff)
qquickstyleconstants: notify that native colors may have changed after a theme change
When macOS changes appearance, we need to inform the style that the system colors have changed. This patch will therefore listen for changes to the colorScheme and do just that. Since the colors we return should match the effective appearance, we need to wrap the NSColor calls inside an NSApp.effectiveAppearance block. Pick-to: 6.11 6.10 6.8 6.5 Change-Id: I282280909927136b85cd8f46f25892f825c8cb02 Reviewed-by: Tor Arne Vestbø <[email protected]>
Diffstat (limited to 'src/qml/jsruntime/qv4qobjectwrapper.cpp')
0 files changed, 0 insertions, 0 deletions