QTfrontend/team.cpp
changeset 7439 0a494f951dcf
parent 7313 162bc562335b
child 7955 85b3970b402a
--- a/QTfrontend/team.cpp	Thu Jul 26 11:01:32 2012 +0200
+++ b/QTfrontend/team.cpp	Thu Jul 26 11:10:56 2012 +0200
@@ -259,7 +259,7 @@
     QStringList sl;
     if (m_isNetTeam)
     {
-        sl.push_back(QString("eaddteam %3 %1 %2").arg(qcolor().rgb() & 0xffffff).arg(m_name).arg(QString(QCryptographicHash::hash(m_owner.toLatin1(), QCryptographicHash::Md5).toHex())));
+        sl.push_back(QString("eaddteam %3 %1 %2").arg(qcolor().rgb() & 0xffffff).arg(m_name).arg(QString(QCryptographicHash::hash(m_owner.toUtf8(), QCryptographicHash::Md5).toHex())));
         sl.push_back("erdriven");
     }
     else sl.push_back(QString("eaddteam %3 %1 %2").arg(qcolor().rgb() & 0xffffff).arg(m_name).arg(playerHash));