QTfrontend/hwform.cpp
changeset 1377 a9e768739345
parent 1376 6c82ad758a80
child 1391 735f6d43780b
--- a/QTfrontend/hwform.cpp	Sat Oct 18 13:45:42 2008 +0000
+++ b/QTfrontend/hwform.cpp	Sat Oct 18 13:53:58 2008 +0000
@@ -28,6 +28,7 @@
 #include <QSpinBox>
 #include <QCloseEvent>
 #include <QCheckBox>
+#include <QTextBrowser>
 
 #include "hwform.h"
 #include "game.h"
@@ -422,6 +423,8 @@
 
 	connect(hwnet, SIGNAL(roomsList(const QStringList&)),
 		ui.pageRoomsList, SLOT(setRoomsList(const QStringList&)));
+	connect(hwnet, SIGNAL(serverMessage(const QString&)),
+		ui.pageRoomsList->serverMessage, SLOT(setText(const QString&)));
 	
 	connect(ui.pageRoomsList, SIGNAL(askForCreateRoom(const QString &)),
 		hwnet, SLOT(CreateRoom(const QString&)));