Fix reported in bug #327, comment #3 - untested but seems reasonable/safe.
authornemo
Wed, 23 May 2012 16:51:37 -0400
changeset 7122 fa2d09868ac6
parent 7121 ce5e70fe4eb3
child 7124 cfee05712896
Fix reported in bug #327, comment #3 - untested but seems reasonable/safe.
QTfrontend/hwform.cpp
--- a/QTfrontend/hwform.cpp	Wed May 23 16:34:12 2012 -0400
+++ b/QTfrontend/hwform.cpp	Wed May 23 16:51:37 2012 -0400
@@ -1484,9 +1484,9 @@
         ui.pageNetGame->setRoomName(hwnet->getRoom());
         ui.pageNetGame->restrictJoins->disconnect(hwnet);
         ui.pageNetGame->restrictTeamAdds->disconnect(hwnet);
+        ui.pageNetGame->disconnect(hwnet, SLOT(updateRoomName(const QString&)));
         connect(ui.pageNetGame->BtnStart, SIGNAL(clicked()), hwnet, SLOT(startGame()));
-        connect(ui.pageNetGame, SIGNAL(askForUpdateRoomName(const QString &)),
-                hwnet, SLOT(updateRoomName(const QString &)));
+        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(),