QTfrontend/hwform.cpp
changeset 15193 eaf65efbcd63
parent 15192 a5fb73335a87
child 15276 d111a0d9d499
equal deleted inserted replaced
15192:a5fb73335a87 15193:eaf65efbcd63
  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 be able to rejoin games in progress and\nprevent someone else from using it,\nplease register it at www.hedgewars.org"));
  1249     noRegMsg.setText(tr("Your nickname is not registered.\nTo prevent 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."));