QTfrontend/hwform.cpp
changeset 12756 7cbf26454b1f
parent 12725 1a393a59a594
child 12799 e6af1eb9e8ce
--- a/QTfrontend/hwform.cpp	Tue Oct 24 21:42:13 2017 +0200
+++ b/QTfrontend/hwform.cpp	Tue Oct 24 21:58:41 2017 +0200
@@ -513,7 +513,7 @@
 
     if(teamslist.empty())
     {
-        QString currentNickName = config->value("net/nick",tr("Guest")+QString("%1").arg(rand())).toString().toUtf8();
+        QString currentNickName = config->value("net/nick",tr("Guest")+QString("%1").arg(rand())).toString();
         QString teamName;
         int firstHumanTeam = 1;
         int lastHumanTeam = 2;