File paraview-default-qtstyle.patch of Package paraview

diff -ur ParaView-3.10.0.orig//CMake/branded_paraview_main.cxx.in ParaView-3.10.0//CMake/branded_paraview_main.cxx.in
--- ParaView-3.10.0.orig//CMake/branded_paraview_main.cxx.in	2011-03-10 00:01:13.000000000 +0530
+++ ParaView-3.10.0//CMake/branded_paraview_main.cxx.in	2011-04-03 22:44:49.705998568 +0530
@@ -40,19 +40,20 @@
 #include "pq@BPC_NAME@Initializer.h"
 
 #ifdef Q_WS_X11
-#include <QPlastiqueStyle>
+#include <QStyle>
 #endif
 
 #include <clocale>
 
 int main(int argc, char* argv[])
 {
-#ifdef Q_WS_X11
+//#ifdef Q_WS_X11
   // Using motif style gives us test failures (and its ugly).
   // Using cleanlooks style gives us errors when using valgrind (Trolltech's bug #179200)
   // let's just use plastique for now
-  QApplication::setStyle(new QPlastiqueStyle);
-#endif
+
+  //QApplication::setStyle(new QPlastiqueStyle);
+//#endif
 
   // When playing tests, disable all effects.
   if (getenv("DART_TEST_FROM_DART") ||
openSUSE Build Service is sponsored by