equal
deleted
inserted
replaced
591 curTeamSelWidget = ui.pageMultiplayer->teamsSelect; |
591 curTeamSelWidget = ui.pageMultiplayer->teamsSelect; |
592 } else { |
592 } else { |
593 curTeamSelWidget = ui.pageNetGame->pNetTeamsWidget; |
593 curTeamSelWidget = ui.pageNetGame->pNetTeamsWidget; |
594 } |
594 } |
595 |
595 |
596 QList<HWTeam> teams = curTeamSelWidget->getDontPlayingTeams(); |
|
597 QStringList tmnames; |
596 QStringList tmnames; |
598 for(QList<HWTeam>::iterator it = teams.begin(); it != teams.end(); ++it) { |
597 QListIterator<HWTeam> it(curTeamSelWidget->getDontPlayingTeams()); |
599 tmnames += it->TeamName; |
598 while(it.hasNext()) tmnames += it.next().TeamName; |
600 } |
599 |
601 //UpdateTeamsLists(&tmnames); // FIXME: still need more work if teamname is updated while configuring |
600 //UpdateTeamsLists(&tmnames); // FIXME: still need more work if teamname is updated while configuring |
602 UpdateTeamsLists(); |
601 UpdateTeamsLists(); |
603 |
602 |
604 GoToPage(ID_PAGE_SETUP); |
603 GoToPage(ID_PAGE_SETUP); |
605 } |
604 } |