QTfrontend/hwform.cpp
changeset 1898 f0ab0c77946d
parent 1897 e9dcb47013c7
child 1899 5763f46d7486
--- a/QTfrontend/hwform.cpp	Mon Mar 16 19:55:56 2009 +0000
+++ b/QTfrontend/hwform.cpp	Mon Mar 16 20:55:10 2009 +0000
@@ -582,12 +582,7 @@
 	connect(hwnet, SIGNAL(teamColorChanged(const HWTeam&)),
 		ui.pageNetGame->pNetTeamsWidget, SLOT(changeTeamColor(const HWTeam&)));
 
-// config stuff
-	connect(hwnet, SIGNAL(paramChanged(const QString &, const QStringList &)), ui.pageNetGame->pGameCFG, SLOT(setParam(const QString &, const QStringList &)));
-	connect(ui.pageNetGame->pGameCFG, SIGNAL(paramChanged(const QString &, const QStringList &)), hwnet, SLOT(onParamChanged(const QString &, const QStringList &)));
-	connect(hwnet, SIGNAL(configAsked()), ui.pageNetGame->pGameCFG, SLOT(fullNetConfig()));
-
-
+// disconnect
 	connect(hwnet, SIGNAL(Disconnected()), this, SLOT(ForcedDisconnect()), Qt::QueuedConnection);
 	
 	hwnet->Connect(hostName, port, nick);
@@ -821,6 +816,7 @@
 	ui.pageNetGame->setMasterMode(true);
 	ui.pageNetGame->restrictJoins->setChecked(false);
 	ui.pageNetGame->restrictTeamAdds->setChecked(false);
+	ui.pageNetGame->pGameCFG->GameSchemes->setModel(ammoSchemeModel);
 	
 	if (hwnet)
 	{