QTfrontend/chatwidget.cpp
changeset 1357 5b9012dd4a05
parent 1356 77ab8735401d
child 1360 d3e285281c26
--- 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);
 }