QTfrontend/gameuiconfig.cpp
changeset 2631 163b0128bd21
parent 2531 c7f841eb91fb
child 2747 7889a3a9724f
equal deleted inserted replaced
2630:079ef82eac75 2631:163b0128bd21
    56 
    56 
    57 	QString netNick = value("net/nick", "").toString();
    57 	QString netNick = value("net/nick", "").toString();
    58 	if (netNick.isEmpty())
    58 	if (netNick.isEmpty())
    59 		netNick = QInputDialog::getText(Form,
    59 		netNick = QInputDialog::getText(Form,
    60 				QObject::tr("Nickname"),
    60 				QObject::tr("Nickname"),
    61 				QObject::tr("Please, enter your nickname"),
    61 				QObject::tr("Please enter your nickname"),
    62 				QLineEdit::Normal,
    62 				QLineEdit::Normal,
    63 				QDir::home().dirName());
    63 				QDir::home().dirName());
    64 
    64 
    65 	Form->ui.pageOptions->editNetNick->setText(netNick);
    65 	Form->ui.pageOptions->editNetNick->setText(netNick);
    66 
    66