QTfrontend/teamselhelper.cpp
changeset 1426 b80048899fa7
parent 1424 2b45d88716b0
child 1440 6439fa9af904
--- a/QTfrontend/teamselhelper.cpp	Sun Oct 26 17:18:58 2008 +0000
+++ b/QTfrontend/teamselhelper.cpp	Sun Oct 26 17:23:04 2008 +0000
@@ -43,6 +43,7 @@
 	mainLayout.setSpacing(3);
 	mainLayout.setMargin(0);
 	this->setMaximumHeight(30);
+	this->setMinimumHeight(30);
 	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));
@@ -73,6 +74,7 @@
 		phhoger = new CHedgehogerWidget(QImage(":/res/hh25x25.png"), this);
 		connect(phhoger, SIGNAL(hedgehogsNumChanged()), this, SLOT(hhNumChanged()));
 		mainLayout.addWidget(phhoger);
+	} else {
 	}
 
 	QObject::connect(butt, SIGNAL(clicked()), this, SLOT(activateTeam()));