# HG changeset patch # User nemo # Date 1337806297 14400 # Node ID fa2d09868ac64eb7cac4d10134b474962528b876 # Parent ce5e70fe4eb3ea1e8289459f93c7d64c4d897059 Fix reported in bug #327, comment #3 - untested but seems reasonable/safe. diff -r ce5e70fe4eb3 -r fa2d09868ac6 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(),