--- a/QTfrontend/hwform.cpp Mon Feb 23 18:35:32 2009 +0000
+++ b/QTfrontend/hwform.cpp Mon Feb 23 18:41:16 2009 +0000
@@ -792,6 +792,10 @@
if (hwnet)
{
+ // disconnect connections first to ensure their inexistance and not to connect twice
+ ui.pageNetGame->startGame->disconnect(hwnet);
+ ui.pageNetGame->restrictJoins->disconnect(hwnet);
+ ui.pageNetGame->restrictTeamAdds->disconnect(hwnet);
connect(ui.pageNetGame->startGame, SIGNAL(triggered()), hwnet, SLOT(startGame()));
connect(ui.pageNetGame->restrictJoins, SIGNAL(triggered()), hwnet, SLOT(toggleRestrictJoins()));
connect(ui.pageNetGame->restrictTeamAdds, SIGNAL(triggered()), hwnet, SLOT(toggleRestrictTeamAdds()));