# HG changeset patch # User Wuzzy # Date 1543345191 -3600 # Node ID 0752148afc659e1b8acfc327b8f12f9ad5e8d645 # Parent f081a984da283c30028745f22ad4a4df6ddea463 Use that enum consistently in main.cpp diff -r f081a984da28 -r 0752148afc65 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();