--- a/QTfrontend/hwform.cpp Fri Oct 24 17:30:30 2008 +0000
+++ b/QTfrontend/hwform.cpp Fri Oct 24 17:34:20 2008 +0000
@@ -737,6 +737,13 @@
ui.pageNetGame->BtnMaster->setVisible(true);
ui.pageNetGame->restrictJoins->setChecked(false);
ui.pageNetGame->restrictTeamAdds->setChecked(false);
+
+ if (hwnet)
+ {
+ connect(ui.pageNetGame->startGame, SIGNAL(triggered(bool)), hwnet, SLOT(startGame()));
+ connect(ui.pageNetGame->restrictJoins, SIGNAL(triggered(bool)), hwnet, SLOT(toggleRestrictJoins()));
+ connect(ui.pageNetGame->restrictTeamAdds, SIGNAL(triggered(bool)), hwnet, SLOT(toggleRestrictTeamAdds()));
+ }
}
void HWForm::NetGameSlave()