QTfrontend/main.cpp
changeset 14326 0752148afc65
parent 14323 d688455cad8f
child 14675 56831f466d1d
--- a/QTfrontend/main.cpp	Tue Nov 27 19:48:55 2018 +0100
+++ b/QTfrontend/main.cpp	Tue Nov 27 19:59:51 2018 +0100
@@ -255,7 +255,7 @@
         }
     }
 
-    if(cmdMsgState == 0)
+    if(cmdMsgState == cmdMsgNone)
     {
         if(parsedArgs.contains("data-dir"))
         {
@@ -532,7 +532,7 @@
 
     app.form = new HWForm(NULL, style);
 #ifdef Q_OS_WIN
-    if(cmdMsgState == 0)
+    if(cmdMsgState == cmdMsgNone)
         splash.finish(app.form);
 #endif
     app.form->show();