QTfrontend/hwform.cpp
changeset 1410 eece43296890
parent 1409 d1cbe4a57ebf
child 1411 df78c9571bc7
--- 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()