QTfrontend/netwwwwidget.cpp
changeset 632 5e09ae25729f
parent 625 373353eaa742
child 634 b9db5ff5cfdb
--- a/QTfrontend/netwwwwidget.cpp	Thu Dec 06 20:31:56 2007 +0000
+++ b/QTfrontend/netwwwwidget.cpp	Sun Dec 09 10:09:52 2007 +0000
@@ -24,16 +24,11 @@
 #include "hwconsts.h"
 
 HWNetWwwWidget::HWNetWwwWidget(QWidget* parent) :
-  QWidget(parent), mainLayout(this)
+  HWNetServersWidget(parent), mainLayout(this)
 {
-	serversList = new QListWidget(this);
-	mainLayout.setMargin(0);
-	mainLayout.addWidget(serversList);
-
 	http = new QHttp(this);
 	http->setHost("www.hedgewars.org", 80);
 	connect(http, SIGNAL(requestFinished(int, bool)), this, SLOT(onClientRead(int, bool)));
-	updateList();
 }
 // http://hedgewars.org/games/create
 // http://www.hedgewars.org/games/update_game?id=1&key=pufidzuk