Remove silly toUtf8 which caused bug with default team name
authorunc0rr
Tue, 24 Oct 2017 21:58:41 +0200
changeset 12756 7cbf26454b1f
parent 12755 528f9752c3fe
child 12757 6f4ab0339c16
Remove silly toUtf8 which caused bug with default team name
QTfrontend/hwform.cpp
--- 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;