QTfrontend/gameuiconfig.cpp
changeset 9055 45ebf126a5c2
parent 9054 707e40076be6
child 9080 9b42757d7e71
--- a/QTfrontend/gameuiconfig.cpp	Fri May 24 12:56:58 2013 -0400
+++ b/QTfrontend/gameuiconfig.cpp	Fri May 24 15:07:21 2013 -0400
@@ -112,7 +112,7 @@
     Form->ui.pageOptions->CBFrontendMusic->setChecked(value("frontend/music", true).toBool());
     Form->ui.pageOptions->SLVolume->setValue(value("audio/volume", 100).toUInt());
 
-    QString netNick = value("net/nick", "").toString();
+    QString netNick = value("net/nick", tr("Guest")+QString("%1").arg(rand())).toString();
     Form->ui.pageOptions->editNetNick->setText(netNick);
     bool savePwd = value("net/savepassword",true).toBool();
     Form->ui.pageOptions->CBSavePassword->setChecked(savePwd);