equal
deleted
inserted
replaced
1202 if (hwnet) |
1202 if (hwnet) |
1203 { |
1203 { |
1204 // disconnect connections first to ensure their inexistance and not to connect twice |
1204 // disconnect connections first to ensure their inexistance and not to connect twice |
1205 ui.pageNetGame->BtnStart->disconnect(hwnet); |
1205 ui.pageNetGame->BtnStart->disconnect(hwnet); |
1206 ui.pageNetGame->BtnUpdate->disconnect(hwnet); |
1206 ui.pageNetGame->BtnUpdate->disconnect(hwnet); |
1207 ui.pageNetGame->leRoomName->setText(hwnet->getRoom()); |
1207 ui.pageNetGame->setRoomName(hwnet->getRoom()); |
1208 ui.pageNetGame->restrictJoins->disconnect(hwnet); |
1208 ui.pageNetGame->restrictJoins->disconnect(hwnet); |
1209 ui.pageNetGame->restrictTeamAdds->disconnect(hwnet); |
1209 ui.pageNetGame->restrictTeamAdds->disconnect(hwnet); |
1210 connect(ui.pageNetGame->BtnStart, SIGNAL(clicked()), hwnet, SLOT(startGame())); |
1210 connect(ui.pageNetGame->BtnStart, SIGNAL(clicked()), hwnet, SLOT(startGame())); |
1211 connect(ui.pageNetGame, SIGNAL(askForUpdateRoomName(const QString &)), |
1211 connect(ui.pageNetGame, SIGNAL(askForUpdateRoomName(const QString &)), |
1212 hwnet, SLOT(updateRoomName(const QString &))); |
1212 hwnet, SLOT(updateRoomName(const QString &))); |