Oops... fix introduced bug
--- a/QTfrontend/chatwidget.cpp Wed Oct 15 15:02:39 2008 +0000
+++ b/QTfrontend/chatwidget.cpp Wed Oct 15 15:59:19 2008 +0000
@@ -57,8 +57,8 @@
void HWChatWidget::onChatStringFromNet(const QString& str)
{
- if (str.size() < 2) return;
QListWidget* w = chatText;
+ w->addItem(str);
w->scrollToBottom();
w->setSelectionMode(QAbstractItemView::NoSelection);
}
--- a/QTfrontend/hwform.cpp Wed Oct 15 15:02:39 2008 +0000
+++ b/QTfrontend/hwform.cpp Wed Oct 15 15:59:19 2008 +0000
@@ -428,8 +428,8 @@
connect(ui.pageRoomsList, SIGNAL(askForRoomList()),
hwnet, SLOT(askRoomsList()));
- connect(hwnet, SIGNAL(chatStringFromNet(const QStringList&)),
- ui.pageNetGame->pChatWidget, SLOT(onChatStringFromNet(const QStringList&)));
+ connect(hwnet, SIGNAL(chatStringFromNet(const QString&)),
+ ui.pageNetGame->pChatWidget, SLOT(onChatStringFromNet(const QString&)));
connect(ui.pageNetGame->pChatWidget, SIGNAL(chatLine(const QString&)),
hwnet, SLOT(chatLineToNet(const QString&)));
connect(hwnet, SIGNAL(nickAdded(const QString&)),