QTfrontend/hwform.cpp
changeset 1568 15a446307993
parent 1566 6b63c75fdc68
child 1569 4456a0dfc647
--- a/QTfrontend/hwform.cpp	Fri Jan 02 19:49:04 2009 +0000
+++ b/QTfrontend/hwform.cpp	Fri Jan 02 19:54:23 2009 +0000
@@ -474,6 +474,13 @@
 		hwnet, SLOT(kickPlayer(const QString&)));
 	connect(ui.pageNetGame->BtnGo, SIGNAL(clicked()), hwnet, SLOT(ToggleReady()));
 
+	connect(ui.pageRoomsList->chatWidget, SIGNAL(chatLine(const QString&)),
+		hwnet, SLOT(chatLineToLobby(const QString&)));
+	connect(hwnet, SIGNAL(chatStringLobby(const QString&)),
+		ui.pageRoomsList->chatWidget, SLOT(onChatString(const QString&)));
+	connect(hwnet, SIGNAL(chatStringFromMeLobby(const QString&)),
+		ui.pageRoomsList->chatWidget, SLOT(onChatString(const QString&)));
+
 	connect(hwnet, SIGNAL(nickAdded(const QString&)),
 		ui.pageNetGame->pChatWidget, SLOT(nickAdded(const QString&)));
 	connect(hwnet, SIGNAL(nickRemoved(const QString&)),