QTfrontend/teamselect.cpp
changeset 2110 df2a1fe3617a
parent 1647 ab0c8c4be7b3
child 2377 f3fab2b09e0c
equal deleted inserted replaced
2109:e5c1810a7214 2110:df2a1fe3617a
   110 	framePlaying->setTeamColor(team);
   110 	framePlaying->setTeamColor(team);
   111 }
   111 }
   112 
   112 
   113 void TeamSelWidget::removeNetTeam(const HWTeam& team)
   113 void TeamSelWidget::removeNetTeam(const HWTeam& team)
   114 {
   114 {
   115 	qDebug() << QString("removeNetTeam: removing team '%1'").arg(team.TeamName);
   115 	//qDebug() << QString("removeNetTeam: removing team '%1'").arg(team.TeamName);
   116 	for(;;) {
   116 	for(;;) {
   117 		QList<HWTeam>::iterator itPlay=std::find(curPlayingTeams.begin(), curPlayingTeams.end(), team);
   117 		QList<HWTeam>::iterator itPlay=std::find(curPlayingTeams.begin(), curPlayingTeams.end(), team);
   118 		if(itPlay==curPlayingTeams.end())
   118 		if(itPlay==curPlayingTeams.end())
   119 		{
   119 		{
   120 			qWarning() << QString("removeNetTeam: team '%1' not found").arg(team.TeamName);
   120 			qWarning() << QString("removeNetTeam: team '%1' not found").arg(team.TeamName);