QTfrontend/hwform.cpp
changeset 7723 ca05b576ec74
parent 7720 8e6b79a020f8
child 7741 d216f0599291
--- a/QTfrontend/hwform.cpp	Wed Oct 03 12:04:29 2012 +0400
+++ b/QTfrontend/hwform.cpp	Sat Oct 06 01:09:41 2012 +0400
@@ -93,6 +93,7 @@
 #include "mouseoverfilter.h"
 #include "roomslistmodel.h"
 #include "recorder.h"
+#include "playerslistmodel.h"
 
 #include "DataManager.h"
 
@@ -1091,6 +1092,9 @@
     connect(hwnet, SIGNAL(AuthFailed()), this, SLOT(NetAuthFailed()), Qt::QueuedConnection);
     //connect(ui.pageNetGame->BtnBack, SIGNAL(clicked()), hwnet, SLOT(partRoom()));
 
+    ui.pageRoomsList->chatWidget->setUsersModel(hwnet->lobbyPlayersModel());
+    ui.pageNetGame->pChatWidget->setUsersModel(hwnet->roomPlayersModel());
+
 // rooms list page stuff
     ui.pageRoomsList->setModel(hwnet->roomsListModel());
     connect(hwnet, SIGNAL(adminAccess(bool)),