QTfrontend/hwform.cpp
changeset 1649 938a0fda0206
parent 1648 32d99a3c7998
child 1664 c8dc009d6e3c
equal deleted inserted replaced
1648:32d99a3c7998 1649:938a0fda0206
   765 		sdli.StopMusic();
   765 		sdli.StopMusic();
   766 }
   766 }
   767 
   767 
   768 void HWForm::NetGameMaster()
   768 void HWForm::NetGameMaster()
   769 {
   769 {
   770 	ui.pageNetGame->BtnMaster->setVisible(true);
   770 	ui.pageNetGame->setMasterMode(true);
   771 	ui.pageNetGame->restrictJoins->setChecked(false);
   771 	ui.pageNetGame->restrictJoins->setChecked(false);
   772 	ui.pageNetGame->restrictTeamAdds->setChecked(false);
   772 	ui.pageNetGame->restrictTeamAdds->setChecked(false);
   773 	
   773 	
   774 	if (hwnet)
   774 	if (hwnet)
   775 	{
   775 	{
   779 	}
   779 	}
   780 }
   780 }
   781 
   781 
   782 void HWForm::NetGameSlave()
   782 void HWForm::NetGameSlave()
   783 {
   783 {
   784 	ui.pageNetGame->BtnMaster->setVisible(false);
   784 	ui.pageNetGame->setMasterMode(false);
   785 }
   785 }
   786 
   786 
   787 void HWForm::NetLeftRoom()
   787 void HWForm::NetLeftRoom()
   788 {
   788 {
   789 	if (ui.Pages->currentIndex() == ID_PAGE_NETGAME)
   789 	if (ui.Pages->currentIndex() == ID_PAGE_NETGAME)