forked from pool/libqt5-qtbase
8a9085de1b
Qt 5.9.2 OBS-URL: https://build.opensuse.org/request/show/533833 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libqt5-qtbase?expand=0&rev=68
16 lines
1.1 KiB
Diff
16 lines
1.1 KiB
Diff
Index: qtbase-opensource-src-5.9.2/src/platformsupport/themes/genericunix/qgenericunixthemes.cpp
|
|
===================================================================
|
|
--- qtbase-opensource-src-5.9.2.orig/src/platformsupport/themes/genericunix/qgenericunixthemes.cpp
|
|
+++ qtbase-opensource-src-5.9.2/src/platformsupport/themes/genericunix/qgenericunixthemes.cpp
|
|
@@ -859,7 +859,9 @@ QStringList QGenericUnixTheme::themeName
|
|
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"));
|
|
// fallback to the generic Gnome theme if loading the GTK3 theme fails
|
|
result.push_back(QLatin1String(QGnomeTheme::name));
|