equal
deleted
inserted
replaced
85 void HWChatWidget::onServerMessage(const QString& str) |
85 void HWChatWidget::onServerMessage(const QString& str) |
86 { |
86 { |
87 if (chatStrings.size() > 250) |
87 if (chatStrings.size() > 250) |
88 chatStrings.removeFirst(); |
88 chatStrings.removeFirst(); |
89 |
89 |
90 chatStrings.append(str); |
90 chatStrings.append("<hr>" + str + "<hr>"); |
91 |
91 |
92 chatText->setHtml(chatStrings.join("<br>")); |
92 chatText->setHtml(chatStrings.join("<br>")); |
93 |
93 |
94 chatText->moveCursor(QTextCursor::End); |
94 chatText->moveCursor(QTextCursor::End); |
95 } |
95 } |