disable splash on linux
authorkoda
Thu, 27 Dec 2012 17:08:58 +0100
changeset 8339 2154732c65f1
parent 8337 bf237f7f1d94
child 8341 7a7a39b2449b
disable splash on linux
QTfrontend/main.cpp
--- a/QTfrontend/main.cpp	Thu Dec 27 17:01:02 2012 +0100
+++ b/QTfrontend/main.cpp	Thu Dec 27 17:08:58 2012 +0100
@@ -139,7 +139,8 @@
     HWApplication app(argc, argv);
 
     QLabel *splash = NULL;
-#ifdef Q_WS_WIN | Q_WS_X11 | Q_WS_MAC //enabled on all platforms, disable if it doesn't look good
+    //enabled on win and osx, disable if it doesn't look good
+#if defined Q_WS_WIN || defined Q_WS_MAC
     QPixmap pixmap(":res/splash.png");
     splash = new QLabel(0, Qt::FramelessWindowHint|Qt::WindowStaysOnTopHint);
     splash->setAttribute(Qt::WA_TranslucentBackground);