summaryrefslogtreecommitdiffstats
path: root/src/concurrent/qtconcurrentthreadengine.h
diff options
context:
space:
mode:
authorMohammadHossein Qanbari <[email protected]>2025-04-08 15:26:53 +0200
committerMohammadHossein Qanbari <[email protected]>2025-05-29 16:34:06 +0200
commit6a21e0e212732fb2b919f5dd18b1c48ef7285162 (patch)
tree9b61c9fd59d18262576903542167c80dedd50e71 /src/concurrent/qtconcurrentthreadengine.h
parent393c294e102bcd733141539552fda2f148e8b51b (diff)
QGnomeTheme: Enhance system color scheme detectionHEADdev
Previously, QGnomeTheme relied on the theme name to determine the system's color scheme when a "SettingChanged" signal was emitted via dbus. However, this approach overlooked the "color-scheme" property in the signal, which directly provides the updated light/dark mode information. This patch updates QGnomeTheme to use the "color-scheme" property from the dbus signal, ensuring accurate detection of changes in the system's color scheme. The theme name fallback is retained for scenarios where "color-scheme" data is not provided. See also the XDG Desktop Portal documentation: https://flatpak.github.io/xdg-desktop-portal/docs/doc-org.freedesktop.portal.Settings.html Related to this commit: 4ac89dad78772ce90649b9846efa17319deba28f Task-number: QTBUG-133595 Change-Id: I2c3982fd9871d76184f1b4233d95e7a5e0a34ad1 Reviewed-by: Oliver Eftevaag <[email protected]>
Diffstat (limited to 'src/concurrent/qtconcurrentthreadengine.h')
0 files changed, 0 insertions, 0 deletions