QTfrontend/hwform.cpp
changeset 6732 c906dc78091f
parent 6720 84261c3408a6
child 6733 5abbc345a82f
--- a/QTfrontend/hwform.cpp	Wed Feb 22 18:13:14 2012 +0100
+++ b/QTfrontend/hwform.cpp	Thu Feb 23 00:46:03 2012 +0400
@@ -88,6 +88,7 @@
 #include "xfire.h"
 #include "drawmapwidget.h"
 #include "mouseoverfilter.h"
+#include "roomslistmodel.h"
 
 #include "HWDataManager.h"
 
@@ -1040,6 +1041,7 @@
     //connect(ui.pageNetGame->BtnBack, SIGNAL(clicked()), hwnet, SLOT(partRoom()));
 
 // rooms list page stuff
+    ui.pageRoomsList->roomsList->setModel(hwnet->roomsListModel());
     connect(hwnet, SIGNAL(roomsList(const QStringList&)),
             ui.pageRoomsList, SLOT(setRoomsList(const QStringList&)), Qt::QueuedConnection);
     connect(hwnet, SIGNAL(adminAccess(bool)),