QTfrontend/main.cpp
changeset 14836 b9437746bffb
parent 14670 56831f466d1d
child 14856 cd0af25c7913
equal deleted inserted replaced
14835:57ed3981db20 14836:b9437746bffb
   546     if(isProbablyNewPlayer) {
   546     if(isProbablyNewPlayer) {
   547         QMessageBox questionTutorialMsg(app.form);
   547         QMessageBox questionTutorialMsg(app.form);
   548         questionTutorialMsg.setIcon(QMessageBox::Question);
   548         questionTutorialMsg.setIcon(QMessageBox::Question);
   549         questionTutorialMsg.setWindowTitle(QMessageBox::tr("Welcome to Hedgewars"));
   549         questionTutorialMsg.setWindowTitle(QMessageBox::tr("Welcome to Hedgewars"));
   550         questionTutorialMsg.setText(QMessageBox::tr("Welcome to Hedgewars!\n\nYou seem to be new around here. Would you like to play some training missions first to learn the basics of Hedgewars?"));
   550         questionTutorialMsg.setText(QMessageBox::tr("Welcome to Hedgewars!\n\nYou seem to be new around here. Would you like to play some training missions first to learn the basics of Hedgewars?"));
       
   551         questionTutorialMsg.setTextFormat(Qt::PlainText);
   551         questionTutorialMsg.setWindowModality(Qt::WindowModal);
   552         questionTutorialMsg.setWindowModality(Qt::WindowModal);
   552         questionTutorialMsg.addButton(QMessageBox::Yes);
   553         questionTutorialMsg.addButton(QMessageBox::Yes);
   553         questionTutorialMsg.addButton(QMessageBox::No);
   554         questionTutorialMsg.addButton(QMessageBox::No);
   554 
   555 
   555         int answer = questionTutorialMsg.exec();
   556         int answer = questionTutorialMsg.exec();