QTfrontend/hwform.cpp
changeset 541 bc7be7f6d3e8
parent 535 a14eaf35cf4b
child 579 94db15de0392
equal deleted inserted replaced
540:b06c5aace2fa 541:bc7be7f6d3e8
   239     curTeamSelWidget=ui.pageNetGame->pNetTeamsWidget;
   239     curTeamSelWidget=ui.pageNetGame->pNetTeamsWidget;
   240   }
   240   }
   241   QList<HWTeam> teams=curTeamSelWidget->getDontPlayingTeams();
   241   QList<HWTeam> teams=curTeamSelWidget->getDontPlayingTeams();
   242   QStringList tmnames;
   242   QStringList tmnames;
   243   for(QList<HWTeam>::iterator it = teams.begin(); it != teams.end(); ++it) {
   243   for(QList<HWTeam>::iterator it = teams.begin(); it != teams.end(); ++it) {
   244     qDebug() << it->TeamName;
       
   245     tmnames+=it->TeamName;
   244     tmnames+=it->TeamName;
   246   }
   245   }
   247   UpdateTeamsLists(&tmnames); // FIXME: still need more work if teamname is updated while configuring
   246   UpdateTeamsLists(&tmnames); // FIXME: still need more work if teamname is updated while configuring
   248 
   247 
   249   GoToPage(ID_PAGE_SETUP);
   248   GoToPage(ID_PAGE_SETUP);