add remove command slot fixed
authordisplacer
Thu, 17 Aug 2006 18:16:51 +0000
changeset 114 2762edfc23a9
parent 113 d975a426ebf7
child 115 4cce20ef48ea
add remove command slot fixed
QTfrontend/teamselect.cpp
--- 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)