QTfrontend/hwform.cpp
changeset 6151 9fd5b70acb1a
parent 6131 4e8816cf9459
child 6160 863d3edf5690
equal deleted inserted replaced
6150:1d98752c1fba 6151:9fd5b70acb1a
  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 &)));