diff -r e3a047e84e19 -r c09c50efe8b5 QTfrontend/hwform.cpp --- a/QTfrontend/hwform.cpp Sun Sep 04 13:36:59 2011 -0400 +++ b/QTfrontend/hwform.cpp Sun Sep 04 21:39:50 2011 +0400 @@ -626,8 +626,9 @@ } QStringList tmnames; - QListIterator it(curTeamSelWidget->getDontPlayingTeams()); - while(it.hasNext()) tmnames += it.next().TeamName; + + foreach(HWTeam team, curTeamSelWidget->getDontPlayingTeams()) + tmnames += team.TeamName; //UpdateTeamsLists(&tmnames); // FIXME: still need more work if teamname is updated while configuring UpdateTeamsLists();