equal
deleted
inserted
replaced
432 hwnet->Disconnect(); |
432 hwnet->Disconnect(); |
433 delete hwnet; |
433 delete hwnet; |
434 hwnet=0; |
434 hwnet=0; |
435 } |
435 } |
436 |
436 |
437 ui.pageNetGame->pChatWidget->clear(); |
|
438 ui.pageRoomsList->chatWidget->clear(); |
437 ui.pageRoomsList->chatWidget->clear(); |
439 |
438 |
440 hwnet = new HWNewNet(config, ui.pageNetGame->pGameCFG, ui.pageNetGame->pNetTeamsWidget); |
439 hwnet = new HWNewNet(config, ui.pageNetGame->pGameCFG, ui.pageNetGame->pNetTeamsWidget); |
441 |
440 |
442 connect(hwnet, SIGNAL(showMessage(const QString &)), this, SLOT(ShowErrorMessage(const QString &)), Qt::QueuedConnection); |
441 connect(hwnet, SIGNAL(showMessage(const QString &)), this, SLOT(ShowErrorMessage(const QString &)), Qt::QueuedConnection); |
613 GoToPage(ID_PAGE_ROOMSLIST); |
612 GoToPage(ID_PAGE_ROOMSLIST); |
614 } |
613 } |
615 |
614 |
616 void HWForm::NetGameEnter() |
615 void HWForm::NetGameEnter() |
617 { |
616 { |
|
617 ui.pageNetGame->pChatWidget->clear(); |
618 GoToPage(ID_PAGE_NETGAME); |
618 GoToPage(ID_PAGE_NETGAME); |
619 } |
619 } |
620 |
620 |
621 void HWForm::AddNetTeam(const HWTeam& team) |
621 void HWForm::AddNetTeam(const HWTeam& team) |
622 { |
622 { |