Rex Dieter d131ab1
--- src/gui/kernel/qguiplatformplugin.cpp.adwaita	2015-02-12 14:32:45.217935391 +0100
Rex Dieter d131ab1
+++ src/gui/kernel/qguiplatformplugin.cpp	2015-02-12 14:46:11.471866038 +0100
Rex Dieter d131ab1
@@ -165,8 +165,13 @@ QString QGuiPlatformPlugin::styleName()
Rex Dieter d131ab1
     case DE_GNOME: {
Rex Dieter d131ab1
         QStringList availableStyles = QStyleFactory::keys();
Rex Dieter d131ab1
         // Set QGtkStyle for GNOME if available
Rex Dieter d131ab1
+        QString adwaitaStyleKey = QString::fromLatin1("adwaita");
Rex Dieter d131ab1
         QString gtkStyleKey = QString::fromLatin1("GTK+");
Rex Dieter d131ab1
-        if (availableStyles.contains(gtkStyleKey)) {
Rex Dieter d131ab1
+        if (availableStyles.contains(adwaitaStyleKey)) {
Rex Dieter d131ab1
+            stylename = adwaitaStyleKey;
Rex Dieter d131ab1
+            break;
Rex Dieter d131ab1
+        }
Rex Dieter d131ab1
+        else if (availableStyles.contains(gtkStyleKey)) {
Rex Dieter d131ab1
             stylename = gtkStyleKey;
Rex Dieter d131ab1
             break;
Rex Dieter d131ab1
         }