QTfrontend/hwform.cpp
changeset 5126 50803f3403a5
parent 5114 a05081bc2769
child 5140 932307228d05
equal deleted inserted replaced
5125:715cf3f2b342 5126:50803f3403a5
  1114 
  1114 
  1115     if (hwnet)
  1115     if (hwnet)
  1116     {
  1116     {
  1117         // disconnect connections first to ensure their inexistance and not to connect twice
  1117         // disconnect connections first to ensure their inexistance and not to connect twice
  1118         ui.pageNetGame->BtnStart->disconnect(hwnet);
  1118         ui.pageNetGame->BtnStart->disconnect(hwnet);
       
  1119         ui.pageNetGame->BtnUpdate->disconnect(hwnet);
       
  1120         ui.pageNetGame->leRoomName->setText(hwnet->getRoom());
  1119         ui.pageNetGame->restrictJoins->disconnect(hwnet);
  1121         ui.pageNetGame->restrictJoins->disconnect(hwnet);
  1120         ui.pageNetGame->restrictTeamAdds->disconnect(hwnet);
  1122         ui.pageNetGame->restrictTeamAdds->disconnect(hwnet);
  1121         connect(ui.pageNetGame->BtnStart, SIGNAL(clicked()), hwnet, SLOT(startGame()));
  1123         connect(ui.pageNetGame->BtnStart, SIGNAL(clicked()), hwnet, SLOT(startGame()));
       
  1124         connect(ui.pageNetGame, SIGNAL(askForUpdateRoomName(const QString &)),
       
  1125             hwnet, SLOT(updateRoomName(const QString &)));
  1122         connect(ui.pageNetGame->restrictJoins, SIGNAL(triggered()), hwnet, SLOT(toggleRestrictJoins()));
  1126         connect(ui.pageNetGame->restrictJoins, SIGNAL(triggered()), hwnet, SLOT(toggleRestrictJoins()));
  1123         connect(ui.pageNetGame->restrictTeamAdds, SIGNAL(triggered()), hwnet, SLOT(toggleRestrictTeamAdds()));
  1127         connect(ui.pageNetGame->restrictTeamAdds, SIGNAL(triggered()), hwnet, SLOT(toggleRestrictTeamAdds()));
  1124         connect(ui.pageNetGame->pGameCFG->GameSchemes->model(),
  1128         connect(ui.pageNetGame->pGameCFG->GameSchemes->model(),
  1125                 SIGNAL(dataChanged(const QModelIndex &, const QModelIndex &)),
  1129                 SIGNAL(dataChanged(const QModelIndex &, const QModelIndex &)),
  1126                 ui.pageNetGame->pGameCFG,
  1130                 ui.pageNetGame->pGameCFG,