QTfrontend/teamselect.cpp
changeset 5772 c09c50efe8b5
parent 5140 932307228d05
child 5773 c277657854a2
--- a/QTfrontend/teamselect.cpp	Sun Sep 04 13:36:59 2011 -0400
+++ b/QTfrontend/teamselect.cpp	Sun Sep 04 21:39:50 2011 +0400
@@ -255,8 +255,8 @@
   frameDontPlaying->resetTeams();
   curDontPlayingTeams.clear();
 
-  QListIterator<HWTeam> it(teamslist);
-  while(it.hasNext()) addTeam(it.next());
+  foreach(HWTeam team, teamslist)
+    addTeam(team);
 }
 
 bool TeamSelWidget::isPlaying(HWTeam team) const