QTfrontend/teamselhelper.cpp
changeset 5438 d080fb32d703
parent 5423 48b7823ec7e4
child 6015 daffc14a518a
--- a/QTfrontend/teamselhelper.cpp	Wed Jul 27 11:39:08 2011 +0400
+++ b/QTfrontend/teamselhelper.cpp	Wed Jul 27 11:41:43 2011 +0400
@@ -49,7 +49,7 @@
         QIcon(QString(":/res/botlevels/net%1.png").arg(m_team.difficulty))
         : QIcon(QString(":/res/botlevels/%1.png").arg(m_team.difficulty));
 
-    butt = new QPushButton(difficultyIcon, team.TeamName, this);
+    butt = new QPushButton(difficultyIcon, team.TeamName.replace("&","&&"), this);
     butt->setFlat(true);
     butt->setToolTip(team.Owner);
     mainLayout.addWidget(butt);