QTfrontend/main.cpp
changeset 14342 0752148afc65
parent 14339 d688455cad8f
child 14691 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();