equal
deleted
inserted
replaced
240 { |
240 { |
241 hwnet = new HWNewNet(config); |
241 hwnet = new HWNewNet(config); |
242 connect(hwnet, SIGNAL(AddGame(const QString &)), this, SLOT(AddGame(const QString &))); |
242 connect(hwnet, SIGNAL(AddGame(const QString &)), this, SLOT(AddGame(const QString &))); |
243 connect(hwnet, SIGNAL(EnteredGame()), this, SLOT(NetGameEnter())); |
243 connect(hwnet, SIGNAL(EnteredGame()), this, SLOT(NetGameEnter())); |
244 connect(hwnet, SIGNAL(ChangeInTeams(const QStringList &)), this, SLOT(ChangeInNetTeams(const QStringList &))); |
244 connect(hwnet, SIGNAL(ChangeInTeams(const QStringList &)), this, SLOT(ChangeInNetTeams(const QStringList &))); |
|
245 connect(ui.pageNetGame->pNetTeamsWidget, SIGNAL(teamWillPlay(HWTeam)), hwnet, SLOT(AddTeam(HWTeam))); |
245 hwnet->Connect(hostName, port, nick); |
246 hwnet->Connect(hostName, port, nick); |
246 config->SaveOptions(); |
247 config->SaveOptions(); |
247 } |
248 } |
248 |
249 |
249 void HWForm::NetConnect() |
250 void HWForm::NetConnect() |