QTfrontend/ui/widget/teamselect.cpp
changeset 8432 f2d57e987ba9
parent 8430 5a5c34a75e1a
child 8726 ef2abeafa7cb
--- a/QTfrontend/ui/widget/teamselect.cpp	Wed Jan 23 16:35:26 2013 -0500
+++ b/QTfrontend/ui/widget/teamselect.cpp	Fri Jan 25 12:54:24 2013 +0100
@@ -36,8 +36,6 @@
     {
         framePlaying->addTeam(team, true);
         curPlayingTeams.push_back(team);
-        connect(framePlaying->getTeamWidget(team), SIGNAL(teamStatusChanged(HWTeam)),
-                this, SLOT(netTeamStatusChanged(const HWTeam&)));
         connect(framePlaying->getTeamWidget(team), SIGNAL(hhNmChanged(const HWTeam&)),
                 this, SLOT(hhNumChanged(const HWTeam&)));
         dynamic_cast<TeamShowWidget*>(framePlaying->getTeamWidget(team))->hhNumChanged();
@@ -145,17 +143,6 @@
     emit setEnabledGameStart(curPlayingTeams.size()>1);
 }
 
-void TeamSelWidget::netTeamStatusChanged(const HWTeam& team)
-{
-    QList<HWTeam>::iterator itPlay=std::find(curPlayingTeams.begin(), curPlayingTeams.end(), team);
-
-}
-
-//void TeamSelWidget::removeTeam(__attribute__ ((unused)) HWTeam team)
-//{
-//curDontPlayingTeams.erase(std::find(curDontPlayingTeams.begin(), curDontPlayingTeams.end(), team));
-//}
-
 void TeamSelWidget::changeTeamStatus(HWTeam team)
 {
     QList<HWTeam>::iterator itDontPlay=std::find(m_curNotPlayingTeams.begin(), m_curNotPlayingTeams.end(), team);
@@ -330,4 +317,4 @@
     QWidget::repaint();
     framePlaying->repaint();
     frameDontPlaying->repaint();
-}
\ No newline at end of file
+}