# HG changeset patch
# User displacer
# Date 1172233838 0
# Node ID 2c8d6072c26137104d7c7a5bc5362d399183334e
# Parent 61c617f1bec70395a31d3ef4c19049d0d033b563
network bots are now displayed in teamselect widget
diff -r 61c617f1bec7 -r 2c8d6072c261 QTfrontend/hedgewars.qrc
--- a/QTfrontend/hedgewars.qrc Fri Feb 23 10:08:13 2007 +0000
+++ b/QTfrontend/hedgewars.qrc Fri Feb 23 12:30:38 2007 +0000
@@ -7,6 +7,12 @@
res/botlevels/3.png
res/botlevels/4.png
res/botlevels/5.png
+ res/botlevels/net0.png
+ res/botlevels/net1.png
+ res/botlevels/net2.png
+ res/botlevels/net3.png
+ res/botlevels/net4.png
+ res/botlevels/net5.png
res/Hedgehog.svg
res/net.png
diff -r 61c617f1bec7 -r 2c8d6072c261 QTfrontend/res/botlevels/net0.png
Binary file QTfrontend/res/botlevels/net0.png has changed
diff -r 61c617f1bec7 -r 2c8d6072c261 QTfrontend/res/botlevels/net0.xcf
Binary file QTfrontend/res/botlevels/net0.xcf has changed
diff -r 61c617f1bec7 -r 2c8d6072c261 QTfrontend/res/botlevels/net1.png
Binary file QTfrontend/res/botlevels/net1.png has changed
diff -r 61c617f1bec7 -r 2c8d6072c261 QTfrontend/res/botlevels/net2.png
Binary file QTfrontend/res/botlevels/net2.png has changed
diff -r 61c617f1bec7 -r 2c8d6072c261 QTfrontend/res/botlevels/net3.png
Binary file QTfrontend/res/botlevels/net3.png has changed
diff -r 61c617f1bec7 -r 2c8d6072c261 QTfrontend/res/botlevels/net4.png
Binary file QTfrontend/res/botlevels/net4.png has changed
diff -r 61c617f1bec7 -r 2c8d6072c261 QTfrontend/res/botlevels/net5.png
Binary file QTfrontend/res/botlevels/net5.png has changed
diff -r 61c617f1bec7 -r 2c8d6072c261 QTfrontend/teamselhelper.cpp
--- a/QTfrontend/teamselhelper.cpp Fri Feb 23 10:08:13 2007 +0000
+++ b/QTfrontend/teamselhelper.cpp Fri Feb 23 12:30:38 2007 +0000
@@ -37,7 +37,8 @@
mainLayout.setSpacing(1);
mainLayout.setMargin(2);
this->setMaximumHeight(35);
- QIcon difficultyIcon=team.isNetTeam() ? QIcon(QString(":/res/net.png"))
+ QIcon difficultyIcon=team.isNetTeam() ?
+ QIcon(QString(":/res/botlevels/net%1.png").arg(m_team.difficulty))
: QIcon(QString(":/res/botlevels/%1.png").arg(m_team.difficulty));
QPalette newPalette = palette();