diff -r d1e75dcd285f -r 7535ab6c3820 QTfrontend/hwform.cpp --- a/QTfrontend/hwform.cpp Sun Jan 14 23:13:24 2007 +0000 +++ b/QTfrontend/hwform.cpp Mon Jan 15 18:45:07 2007 +0000 @@ -238,10 +238,10 @@ void HWForm::_NetConnect(const QString & hostName, quint16 port, const QString & nick) { - hwnet = new HWNewNet(config, ui.pageNetGame->pGameCFG); + hwnet = new HWNewNet(config, ui.pageNetGame->pGameCFG, ui.pageNetGame->pNetTeamsWidget); connect(hwnet, SIGNAL(AddGame(const QString &)), this, SLOT(AddGame(const QString &))); connect(hwnet, SIGNAL(EnteredGame()), this, SLOT(NetGameEnter())); - connect(hwnet, SIGNAL(AddNetTeam(const QString&)), this, SLOT(AddNetTeam(const QString&))); + connect(hwnet, SIGNAL(AddNetTeam(const HWTeam&)), this, SLOT(AddNetTeam(const HWTeam&))); connect(ui.pageNetGame->pNetTeamsWidget, SIGNAL(teamWillPlay(HWTeam)), hwnet, SLOT(AddTeam(HWTeam))); @@ -314,9 +314,9 @@ hwnet->StartGame(); } -void HWForm::AddNetTeam(const QString& team) +void HWForm::AddNetTeam(const HWTeam& team) { - ui.pageNetGame->pNetTeamsWidget->addTeam(team, true); + ui.pageNetGame->pNetTeamsWidget->addTeam(team); } void HWForm::StartMPGame()