QTfrontend/main.cpp
changeset 8651 da384b09eb2b
parent 8508 f849b7b3af1d
child 8708 6354b01d5500
equal deleted inserted replaced
8650:18807b6302c8 8651:da384b09eb2b
   344     QFile & file = (extFile.exists() ? extFile : resFile);
   344     QFile & file = (extFile.exists() ? extFile : resFile);
   345 
   345 
   346     if (file.open(QIODevice::ReadOnly | QIODevice::Text))
   346     if (file.open(QIODevice::ReadOnly | QIODevice::Text))
   347         style.append(file.readAll());
   347         style.append(file.readAll());
   348 
   348 
       
   349     qWarning("Starting Hedgewars %s-r%d (%s)", qPrintable(*cVersionString), cRevisionString->toInt(), qPrintable(*cHashString));
       
   350 
   349     app.form = new HWForm(NULL, style);
   351     app.form = new HWForm(NULL, style);
   350     app.form->show();
   352     app.form->show();
   351     if(splash)
   353     if(splash)
   352         splash->close();
   354         splash->close();
   353     return app.exec();
   355     return app.exec();