441 |
441 |
442 ui.pageNetGame->pChatWidget->clear(); |
442 ui.pageNetGame->pChatWidget->clear(); |
443 |
443 |
444 hwnet = new HWNewNet(config, ui.pageNetGame->pGameCFG, ui.pageNetGame->pNetTeamsWidget); |
444 hwnet = new HWNewNet(config, ui.pageNetGame->pGameCFG, ui.pageNetGame->pNetTeamsWidget); |
445 |
445 |
|
446 connect(hwnet, SIGNAL(showMessage(const QString &)), this, SLOT(ShowErrorMessage(const QString &)), Qt::QueuedConnection); |
|
447 |
446 connect(hwnet, SIGNAL(AskForRunGame()), this, SLOT(CreateNetGame())); |
448 connect(hwnet, SIGNAL(AskForRunGame()), this, SLOT(CreateNetGame())); |
447 connect(hwnet, SIGNAL(Connected()), this, SLOT(NetConnected())); |
449 connect(hwnet, SIGNAL(Connected()), this, SLOT(NetConnected())); |
448 connect(hwnet, SIGNAL(EnteredGame()), this, SLOT(NetGameEnter())); |
450 connect(hwnet, SIGNAL(EnteredGame()), this, SLOT(NetGameEnter())); |
449 connect(hwnet, SIGNAL(AddNetTeam(const HWTeam&)), this, SLOT(AddNetTeam(const HWTeam&))); |
451 connect(hwnet, SIGNAL(AddNetTeam(const HWTeam&)), this, SLOT(AddNetTeam(const HWTeam&))); |
450 |
452 |