Use “Adwaita” as the default icon theme for QGnomeTheme
That is the new name for gnome-icon-theme for more than 1.5 years. See [1] for details. Still keep “gnome” as the fallback icon theme, so this commit should not break anything. [1]: https://mail.gnome.org/archives/desktop-devel-list/2014-April/msg00086.html Change-Id: Ifc2178827ad2cf6fdbc4e5248c83789ebc5b797e Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> Reviewed-by: Jens Bache-Wiig <jensbw@gmail.com>
This commit is contained in:
parent
99d061ffd5
commit
2a2ca8e6bb
@ -609,8 +609,9 @@ QVariant QGnomeTheme::themeHint(QPlatformTheme::ThemeHint hint) const
|
||||
case QPlatformTheme::DialogButtonBoxLayout:
|
||||
return QVariant(QPlatformDialogHelper::GnomeLayout);
|
||||
case QPlatformTheme::SystemIconThemeName:
|
||||
return QVariant(QStringLiteral("Adwaita"));
|
||||
case QPlatformTheme::SystemIconFallbackThemeName:
|
||||
return QVariant(QString(QStringLiteral("gnome")));
|
||||
return QVariant(QStringLiteral("gnome"));
|
||||
case QPlatformTheme::IconThemeSearchPaths:
|
||||
return QVariant(QGenericUnixTheme::xdgIconThemePaths());
|
||||
case QPlatformTheme::StyleNames: {
|
||||
|
Loading…
Reference in New Issue
Block a user