--- 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
+}
--- a/QTfrontend/ui/widget/teamselect.h Wed Jan 23 16:35:26 2013 -0500
+++ b/QTfrontend/ui/widget/teamselect.h Fri Jan 25 12:54:24 2013 +0100
@@ -51,7 +51,6 @@
public slots:
void addTeam(HWTeam team);
- void netTeamStatusChanged(const HWTeam& team);
void changeHHNum(const HWTeam&);
void changeTeamColor(const HWTeam&);
void changeTeamStatus(HWTeam team);