QTfrontend/pages.cpp
changeset 667 194dc62d1519
parent 665 5c7bfc8bac6a
child 668 0d7683a66d61
--- a/QTfrontend/pages.cpp	Sat Dec 15 19:44:05 2007 +0000
+++ b/QTfrontend/pages.cpp	Sat Dec 15 20:08:08 2007 +0000
@@ -485,11 +485,9 @@
 
 void PageNet::updateServersList()
 {
-//	if (tvServersList->model()) delete tvServersList->model();
-
 	if (rbLocalGame->isChecked())
-//;		netServersWidget = new HWNetUdpWidget(ConnGroupBox);
-//	else
+		tvServersList->setModel(new HWNetUdpModel());
+	else
 		tvServersList->setModel(new HWNetWwwModel());
 
 	static_cast<HWNetServersModel *>(tvServersList->model())->updateList();