--- a/QTfrontend/frameTeam.cpp Sat Sep 24 22:27:20 2011 +0400
+++ b/QTfrontend/frameTeam.cpp Sat Sep 24 22:14:10 2011 +0200
@@ -99,14 +99,14 @@
{
TeamShowWidget* pTeamShowWidget = dynamic_cast<TeamShowWidget*>(getTeamWidget(team));
if(!pTeamShowWidget) return;
- pTeamShowWidget->setHHNum(team.numHedgehogs);
+ pTeamShowWidget->setHHNum(team.numHedgehogs());
}
void FrameTeams::setTeamColor(const HWTeam& team)
{
TeamShowWidget* pTeamShowWidget = dynamic_cast<TeamShowWidget*>(getTeamWidget(team));
if(!pTeamShowWidget) return;
- pTeamShowWidget->changeTeamColor(team.teamColor);
+ pTeamShowWidget->changeTeamColor(team.color());
}
QWidget* FrameTeams::getTeamWidget(HWTeam team)