1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
This commit is contained in:
Tux3 / Mlkj / !Lev.uXFMLA 2014-09-10 15:42:22 +02:00
parent 3f35a5a48d
commit afa794d92a

View File

@ -77,7 +77,7 @@ QString ChatAreaWidget::getHtmledMessages()
return res;
}
void ChatAreaWidget::insertMessage(ChatAction *msgAction)
void ChatAreaWidget::insertMessage(ChatAction* msgAction)
{
if (msgAction == nullptr)
return;
@ -88,6 +88,8 @@ void ChatAreaWidget::insertMessage(ChatAction *msgAction)
moveCursor(QTextCursor::End);
moveCursor(QTextCursor::PreviousCell);
insertHtml(msgAction->getHtml());
delete msgAction;
}
void ChatAreaWidget::updateChatContent()