mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-01 09:36:46 -04:00
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:
parent
5f3be942d3
commit
477c05e71f
1 changed files with 1051 additions and 1050 deletions
|
@ -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 formattedMessage = RsHtml().formatText(ui->textBrowser->document(), message, formatTextFlag, backgroundColor, desiredContrast);
|
||||||
QString formatMsg = chatStyle.formatMessage(type, name, incoming ? sendTime : recvTime, formattedMessage, formatFlag);
|
QString formatMsg = chatStyle.formatMessage(type, name, incoming ? sendTime : recvTime, formattedMessage, formatFlag);
|
||||||
|
|
||||||
|
ui->textBrowser->textCursor().setBlockFormat(QTextBlockFormat ());
|
||||||
ui->textBrowser->append(formatMsg);
|
ui->textBrowser->append(formatMsg);
|
||||||
|
|
||||||
resetStatusBar();
|
resetStatusBar();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue