QTfrontend/hwform.cpp
changeset 15192 a5fb73335a87
parent 15090 33eca3f0a9aa
child 15193 eaf65efbcd63
equal deleted inserted replaced
15191:0e8bb82af355 15192:a5fb73335a87
  1244 
  1244 
  1245     QMessageBox noRegMsg(this);
  1245     QMessageBox noRegMsg(this);
  1246     noRegMsg.setIcon(QMessageBox::Information);
  1246     noRegMsg.setIcon(QMessageBox::Information);
  1247     noRegMsg.setWindowTitle(QMessageBox::tr("Hedgewars - Nick not registered"));
  1247     noRegMsg.setWindowTitle(QMessageBox::tr("Hedgewars - Nick not registered"));
  1248     noRegMsg.setWindowModality(Qt::WindowModal);
  1248     noRegMsg.setWindowModality(Qt::WindowModal);
  1249     noRegMsg.setText(tr("Your nickname is not registered.\nTo prevent someone else from using it,\nplease register it at www.hedgewars.org"));
  1249     noRegMsg.setText(tr("Your nickname is not registered.\nTo be able to rejoin games in progress and\nprevent someone else from using it,\nplease register it at www.hedgewars.org"));
  1250 
  1250 
  1251     if (!config->passwordHash().isEmpty())
  1251     if (!config->passwordHash().isEmpty())
  1252     {
  1252     {
  1253         config->clearPasswordHash();
  1253         config->clearPasswordHash();
  1254         noRegMsg.setText(noRegMsg.text()+tr("\n\nYour password wasn't saved either."));
  1254         noRegMsg.setText(noRegMsg.text()+tr("\n\nYour password wasn't saved either."));