Use that enum consistently in main.cpp
authorWuzzy <Wuzzy2@mail.ru>
Tue, 27 Nov 2018 19:59:51 +0100
changeset 14326 0752148afc65
parent 14325 f081a984da28
child 14327 82062b05007d
Use that enum consistently in main.cpp
QTfrontend/main.cpp
--- 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();