forked from pool/paraview
01b902af3d
Update to 4.2.0-RC1 (needed for 13.2) OBS-URL: https://build.opensuse.org/request/show/248433 OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=25
30 lines
976 B
Diff
30 lines
976 B
Diff
Index: ParaView-v4.2.0-RC1-source/CMake/branded_paraview_main.cxx.in
|
|
===================================================================
|
|
--- ParaView-v4.2.0-RC1-source.orig/CMake/branded_paraview_main.cxx.in
|
|
+++ ParaView-v4.2.0-RC1-source/CMake/branded_paraview_main.cxx.in
|
|
@@ -48,7 +48,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBI
|
|
#endif
|
|
|
|
#ifdef Q_WS_X11
|
|
-#include <QPlastiqueStyle>
|
|
+#include <QStyle>
|
|
#endif
|
|
|
|
#include <stdlib.h>
|
|
@@ -72,12 +72,12 @@ static bool checkenv(const char* vname)
|
|
|
|
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 (checkenv("DART_TEST_FROM_DART") ||
|