diff options
author | Magnus Groß <magnus.gross@rwth-aachen.de> | 2022-02-17 21:50:34 +0100 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2022-03-04 00:58:10 +0000 |
commit | 3c6b61a6e14962969e7e9dc5909cd746e38f8de7 (patch) | |
tree | d385400b13719751a60e9dd5198a594cf6f77216 /.github | |
parent | 742ffd0f47abd8995a02da1b02dd0c8b5bc34706 (diff) |
xdgdesktopportal theme: Implement appearance()
We can use the new org.freedesktop.appearance color-scheme setting in
the XDG Desktop Portal Settings to implement this in a DE-independent
way.
In the future we can also use the related "SettingChanged" signal in the
Desktop portal to support changing the theme during runtime.
Useful links:
Spec: https://github.com/flatpak/xdg-desktop-portal/blob/d7a304a00697d7d608821253cd013f3b97ac0fb6/data/org.freedesktop.impl.portal.Settings.xml#L33-L45
Blog post: https://blogs.gnome.org/alexm/2021/10/04/dark-style-preference/
Task-number: QTBUG-93955
Pick-to: 6.2 6.3
Change-Id: Ia5df22fb215ee94d68d2787da97a1c9f8f2c6b0c
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions