diff -r 090a8b8d1083 -r 932307228d05 QTfrontend/hwform.cpp --- a/QTfrontend/hwform.cpp Mon Apr 11 01:30:43 2011 +0200 +++ b/QTfrontend/hwform.cpp Mon Apr 11 11:22:10 2011 -0400 @@ -593,11 +593,10 @@ curTeamSelWidget = ui.pageNetGame->pNetTeamsWidget; } - QList teams = curTeamSelWidget->getDontPlayingTeams(); QStringList tmnames; - for(QList::iterator it = teams.begin(); it != teams.end(); ++it) { - tmnames += it->TeamName; - } + QListIterator it(curTeamSelWidget->getDontPlayingTeams()); + while(it.hasNext()) tmnames += it.next().TeamName; + //UpdateTeamsLists(&tmnames); // FIXME: still need more work if teamname is updated while configuring UpdateTeamsLists();