QTfrontend/hwform.cpp
changeset 5126 50803f3403a5
parent 5114 a05081bc2769
child 5140 932307228d05
--- a/QTfrontend/hwform.cpp	Fri Apr 08 13:42:25 2011 +0200
+++ b/QTfrontend/hwform.cpp	Fri Apr 08 18:50:12 2011 +0200
@@ -1116,9 +1116,13 @@
     {
         // disconnect connections first to ensure their inexistance and not to connect twice
         ui.pageNetGame->BtnStart->disconnect(hwnet);
+        ui.pageNetGame->BtnUpdate->disconnect(hwnet);
+        ui.pageNetGame->leRoomName->setText(hwnet->getRoom());
         ui.pageNetGame->restrictJoins->disconnect(hwnet);
         ui.pageNetGame->restrictTeamAdds->disconnect(hwnet);
         connect(ui.pageNetGame->BtnStart, SIGNAL(clicked()), hwnet, SLOT(startGame()));
+        connect(ui.pageNetGame, SIGNAL(askForUpdateRoomName(const QString &)),
+            hwnet, SLOT(updateRoomName(const QString &)));
         connect(ui.pageNetGame->restrictJoins, SIGNAL(triggered()), hwnet, SLOT(toggleRestrictJoins()));
         connect(ui.pageNetGame->restrictTeamAdds, SIGNAL(triggered()), hwnet, SLOT(toggleRestrictTeamAdds()));
         connect(ui.pageNetGame->pGameCFG->GameSchemes->model(),