--- 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<TeamShowWidget*>(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<TeamShowWidget*>(framePlaying->getTeamWidget(team))->hhNumChanged();
connect(framePlaying->getTeamWidget(team), SIGNAL(teamColorChanged(const HWTeam&)),
this, SLOT(proxyTeamColorChanged(const HWTeam&)));
emit teamColorChanged(((TeamShowWidget*)framePlaying->getTeamWidget(team))->getTeam());
--- 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);