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