QTfrontend/teamselect.cpp
changeset 114 2762edfc23a9
parent 85 44d9045b26ff
child 117 d21a48200772
--- a/QTfrontend/teamselect.cpp	Thu Aug 17 13:54:18 2006 +0000
+++ b/QTfrontend/teamselect.cpp	Thu Aug 17 18:16:51 2006 +0000
@@ -2,6 +2,7 @@
 #include <QPixmap>
 #include <QPushButton>
 #include <QFrame>
+#include <QDebug>
 
 #include <vertScrollArea.h>
 #include "teamselect.h"
@@ -48,6 +49,8 @@
 
   pAddTeams->addTeam(team);
   pRemoveTeams->removeTeam(team);
+  QObject::connect(pAddTeams->getTeamWidget(team), SIGNAL(teamStatusChanged(tmprop)),
+		   this, SLOT(changeTeamStatus(tmprop)));
 }
 
 void TeamSelWidget::addScrArea(FrameTeams* pfteams, QColor color)