2017-12-23 12:15:29 +01:00
|
|
|
Index: qtbase-opensource-src-5.9.1/src/platformsupport/themes/genericunix/qgenericunixthemes.cpp
|
2017-07-08 12:25:20 +02:00
|
|
|
===================================================================
|
2017-12-23 12:15:29 +01:00
|
|
|
--- qtbase-opensource-src-5.9.1.orig/src/platformsupport/themes/genericunix/qgenericunixthemes.cpp
|
|
|
|
+++ qtbase-opensource-src-5.9.1/src/platformsupport/themes/genericunix/qgenericunixthemes.cpp
|
|
|
|
@@ -828,7 +828,9 @@ QStringList QGenericUnixTheme::themeName
|
2016-10-18 09:57:06 +02:00
|
|
|
result.push_back(QLatin1String(QKdeTheme::name));
|
|
|
|
#endif
|
|
|
|
} else if (gtkBasedEnvironments.contains(desktopName)) {
|
|
|
|
- // prefer the GTK3 theme implementation with native dialogs etc.
|
|
|
|
+ // prefer the GTK+2 theme implementation with the native style, etc.
|
|
|
|
+ result.push_back(QStringLiteral("gtk2"));
|
|
|
|
+ // prefer second the GTK+3 theme implementation with native dialogs, etc.
|
|
|
|
result.push_back(QStringLiteral("gtk3"));
|
2017-06-13 16:06:00 +02:00
|
|
|
// fallback to the generic Gnome theme if loading the GTK3 theme fails
|
2016-10-18 09:57:06 +02:00
|
|
|
result.push_back(QLatin1String(QGnomeTheme::name));
|