reset block format for text (Patch from Henry)

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6640 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2013-08-28 20:36:37 +00:00
parent 5f3be942d3
commit 477c05e71f

View File

@ -572,6 +572,7 @@ void ChatWidget::addChatMsg(bool incoming, const QString &name, const QDateTime
QString formattedMessage = RsHtml().formatText(ui->textBrowser->document(), message, formatTextFlag, backgroundColor, desiredContrast);
QString formatMsg = chatStyle.formatMessage(type, name, incoming ? sendTime : recvTime, formattedMessage, formatFlag);
ui->textBrowser->textCursor().setBlockFormat(QTextBlockFormat ());
ui->textBrowser->append(formatMsg);
resetStatusBar();