[arch-commits] Commit in qt5-base/trunk (no-gtk-qpa-on-wayland.patch)
Antonio Rojas
arojas at archlinux.org
Wed Dec 14 10:41:39 UTC 2016
Date: Wednesday, December 14, 2016 @ 10:41:39
Author: arojas
Revision: 283175
Drop unused patch
Deleted:
qt5-base/trunk/no-gtk-qpa-on-wayland.patch
-----------------------------+
no-gtk-qpa-on-wayland.patch | 13 -------------
1 file changed, 13 deletions(-)
Deleted: no-gtk-qpa-on-wayland.patch
===================================================================
--- no-gtk-qpa-on-wayland.patch 2016-12-14 10:41:38 UTC (rev 283174)
+++ no-gtk-qpa-on-wayland.patch 2016-12-14 10:41:39 UTC (rev 283175)
@@ -1,13 +0,0 @@
-diff --git a/src/platformsupport/themes/genericunix/qgenericunixthemes.cpp b/src/platformsupport/themes/genericunix/qgenericunixthemes.cpp
-index db264d1..e3cb2f3 100644
---- a/src/platformsupport/themes/genericunix/qgenericunixthemes.cpp
-+++ b/src/platformsupport/themes/genericunix/qgenericunixthemes.cpp
-@@ -814,7 +814,7 @@ QStringList QGenericUnixTheme::themeNames()
- #ifndef QT_NO_SETTINGS
- result.push_back(QLatin1String(QKdeTheme::name));
- #endif
-- } else if (gtkBasedEnvironments.contains(desktopName)) {
-+ } else if (gtkBasedEnvironments.contains(desktopName) && QString::fromLocal8Bit(qgetenv("XDG_SESSION_TYPE")) != QLatin1String("wayland")) {
- // prefer the GTK3 theme implementation with native dialogs etc.
- result.push_back(QStringLiteral("gtk3"));
- // fallback to the generic Gnome theme if loading the GTK3 theme fails
More information about the arch-commits
mailing list