QTfrontend/teamselhelper.cpp
changeset 340 f5d4db927eba
parent 234 4040a1cbb0ee
child 341 184230eb4151
--- a/QTfrontend/teamselhelper.cpp	Mon Jan 15 18:45:07 2007 +0000
+++ b/QTfrontend/teamselhelper.cpp	Mon Jan 15 19:11:31 2007 +0000
@@ -36,7 +36,8 @@
   mainLayout.setSpacing(1);
   mainLayout.setMargin(2);
   this->setMaximumHeight(35);
-  QIcon difficultyIcon(QString(":/res/botlevels/%1.png").arg(m_team.difficulty));
+  QIcon difficultyIcon=team.netTeam ? QIcon(QString(":/res/net.png"))
+    : QIcon(QString(":/res/botlevels/%1.png").arg(m_team.difficulty));
 
   QPalette newPalette = palette();
   newPalette.setColor(QPalette::Button, palette().color(backgroundRole()));