# HG changeset patch # User displacer # Date 1180209629 0 # Node ID eddcef907b28e3fa1117318bb427d47a03370820 # Parent ca089787f59d71dc108618cfd795fa52524004c4 num hedgehogs while new team addition (dirty) fixed diff -r ca089787f59d -r eddcef907b28 QTfrontend/teamselect.cpp --- a/QTfrontend/teamselect.cpp Sat May 26 16:49:37 2007 +0000 +++ b/QTfrontend/teamselect.cpp Sat May 26 20:00:29 2007 +0000 @@ -35,6 +35,7 @@ this, SLOT(netTeamStatusChanged(const HWTeam&))); connect(framePlaying->getTeamWidget(team), SIGNAL(hhNmChanged(const HWTeam&)), this, SLOT(hhNumChanged(const HWTeam&))); + dynamic_cast(framePlaying->getTeamWidget(team))->hhNumChanged(); connect(framePlaying->getTeamWidget(team), SIGNAL(teamColorChanged(const HWTeam&)), this, SLOT(proxyTeamColorChanged(const HWTeam&))); } else { @@ -159,6 +160,7 @@ if(willBePlaying) { connect(framePlaying->getTeamWidget(team), SIGNAL(hhNmChanged(const HWTeam&)), this, SLOT(hhNumChanged(const HWTeam&))); + dynamic_cast(framePlaying->getTeamWidget(team))->hhNumChanged(); connect(framePlaying->getTeamWidget(team), SIGNAL(teamColorChanged(const HWTeam&)), this, SLOT(proxyTeamColorChanged(const HWTeam&))); emit teamColorChanged(((TeamShowWidget*)framePlaying->getTeamWidget(team))->getTeam()); diff -r ca089787f59d -r eddcef907b28 QTfrontend/teamselhelper.h --- a/QTfrontend/teamselhelper.h Sat May 26 16:49:37 2007 +0000 +++ b/QTfrontend/teamselhelper.h Sat May 26 20:00:29 2007 +0000 @@ -48,10 +48,10 @@ public slots: void changeTeamColor(QColor color=QColor()); + void hhNumChanged(); private slots: void activateTeam(); - void hhNumChanged(); public: TeamShowWidget(HWTeam team, bool isPlaying, QWidget * parent);