472 int passLength = config->value("net/passwordlength", 0).toInt(); |
472 int passLength = config->value("net/passwordlength", 0).toInt(); |
473 QString hash = config->value("net/passwordhash", "").toString(); |
473 QString hash = config->value("net/passwordhash", "").toString(); |
474 QString password = QInputDialog::getText(0, tr("Password"), tr("Your nickname %1 is\nregistered on Hedgewars.org\nPlease provide your password\nor pick another nickname:").arg(mynick), QLineEdit::Password, passLength==0?NULL:QString(passLength,'\0'), &ok); |
474 QString password = QInputDialog::getText(0, tr("Password"), tr("Your nickname %1 is\nregistered on Hedgewars.org\nPlease provide your password below\nor pick another nickname in game config:").arg(mynick), QLineEdit::Password, passLength==0?NULL:QString(passLength,'\0'), &ok); |