QTfrontend/teamselhelper.cpp
changeset 5423 48b7823ec7e4
parent 4976 088d40d8aba2
child 6015 daffc14a518a
--- a/QTfrontend/teamselhelper.cpp	Tue Jul 19 12:02:24 2011 +0200
+++ b/QTfrontend/teamselhelper.cpp	Wed Jul 20 00:09:13 2011 +0200
@@ -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);