diff options
| author | Jan Grulich <jgrulich@redhat.com> | 2023-05-08 16:47:00 +0200 |
|---|---|---|
| committer | Jan Grulich <jgrulich@redhat.com> | 2023-05-11 10:46:58 +0200 |
| commit | 4710fb3528873e630b6b1e34c947a1c811e0e854 (patch) | |
| tree | 434557de1ad7ed3e4ceef9baeba6257b5e6991bc /src/plugins/platforms/android/androidcontentfileengine.cpp | |
| parent | adbfdacacc70abc3d0b1c71fd879407baedde838 (diff) | |
QIconLoader: use system fallback theme as the first fallback option
When searching for an icon, we either use the system theme or the theme
set as a fallback through QPlatformTheme, it's only one or the other.
It can easily happen that the fallback theme we pick as a parent theme
will not fit into the application style (color-wise). For example using
KDE apps on GNOME, where we use "Adwaita" icon theme, we would always
fallback to "Breeze", however, using dark theming, we want to fallback
to "Breeze-dark" and this can be easily set through QPlatformTheme
integration, but it's not going to be used when the system icon theme
is valid and in such case the fallback theme will be ignored.
This change makes the system fallback theme used as the default fallback
by putting it to the list of parent themes.
Pick-to: 6.5 6.2 5.15
Change-Id: I966cd8ddd0e5576e3593d349fe7ee7139136bfdf
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
Diffstat (limited to 'src/plugins/platforms/android/androidcontentfileengine.cpp')
0 files changed, 0 insertions, 0 deletions
