QTfrontend/hwform.cpp
changeset 1890 de5cfe3beb22
parent 1887 d68939b3f7f0
child 1895 7ba647a88b2f
--- a/QTfrontend/hwform.cpp	Fri Mar 13 18:04:44 2009 +0000
+++ b/QTfrontend/hwform.cpp	Fri Mar 13 21:39:59 2009 +0000
@@ -152,7 +152,7 @@
 
 	AmmoSchemeModel * ammoSchemeModel = new AmmoSchemeModel(this);
 	ui.pageScheme->setModel(ammoSchemeModel);
-	ui.pageMultiplayer->gameCFG->tv->setModel(ammoSchemeModel);
+	ui.pageMultiplayer->gameCFG->GameSchemes->setModel(ammoSchemeModel);
 
 	PagesStack.push(ID_PAGE_MAIN);
 	GoBack();
@@ -580,10 +580,6 @@
 	connect(hwnet, SIGNAL(teamColorChanged(const HWTeam&)),
 		ui.pageNetGame->pNetTeamsWidget, SLOT(changeTeamColor(const HWTeam&)));
 
-	//connect(ui.pageNetGame->pGameCFG->pMapContainer, SIGNAL(newTemplateFilter(int)), hwnet, SLOT(onTemplateFilterChanged(int)));
-
-	//connect(hwnet, SIGNAL(templateFilterChanged(int)), ui.pageNetGame->pGameCFG->pMapContainer, SLOT(setTemplateFilter(int)));
-
 // 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 &)));