File plastik-default.diff of Package libqt4

--- src/gui/kernel/qapplication_x11.cpp
+++ src/gui/kernel/qapplication_x11.cpp
@@ -2027,6 +2027,7 @@ void QApplicationPrivate::x11_initialize_style()
         return;
 
     switch(X11->desktopEnvironment) {
+        default:
         case DE_KDE:
             if (X11->use_xrender)
                 QApplicationPrivate::app_style = QStyleFactory::create(QLatin1String("plastique"));
@@ -2042,9 +2043,6 @@ void QApplicationPrivate::x11_initialize_style()
         case DE_CDE:
             QApplicationPrivate::app_style = QStyleFactory::create(QLatin1String("cde"));
             break;
-        default:
-            // Don't do anything
-            break;
     }
 }
openSUSE Build Service is sponsored by