QTfrontend/main.cpp
changeset 14342 0752148afc65
parent 14339 d688455cad8f
child 14691 56831f466d1d
equal deleted inserted replaced
14341:f081a984da28 14342:0752148afc65
   253                 ++i;
   253                 ++i;
   254             }
   254             }
   255         }
   255         }
   256     }
   256     }
   257 
   257 
   258     if(cmdMsgState == 0)
   258     if(cmdMsgState == cmdMsgNone)
   259     {
   259     {
   260         if(parsedArgs.contains("data-dir"))
   260         if(parsedArgs.contains("data-dir"))
   261         {
   261         {
   262             QFileInfo f(parsedArgs["data-dir"]);
   262             QFileInfo f(parsedArgs["data-dir"]);
   263             parsedArgs.remove("data-dir");
   263             parsedArgs.remove("data-dir");
   530 
   530 
   531     qWarning("Starting Hedgewars %s-r%d (%s)", qPrintable(*cVersionString), cRevisionString->toInt(), qPrintable(*cHashString));
   531     qWarning("Starting Hedgewars %s-r%d (%s)", qPrintable(*cVersionString), cRevisionString->toInt(), qPrintable(*cHashString));
   532 
   532 
   533     app.form = new HWForm(NULL, style);
   533     app.form = new HWForm(NULL, style);
   534 #ifdef Q_OS_WIN
   534 #ifdef Q_OS_WIN
   535     if(cmdMsgState == 0)
   535     if(cmdMsgState == cmdMsgNone)
   536         splash.finish(app.form);
   536         splash.finish(app.form);
   537 #endif
   537 #endif
   538     app.form->show();
   538     app.form->show();
   539 
   539 
   540     // Show welcome message for (suspected) first-time player and
   540     // Show welcome message for (suspected) first-time player and