From f3d5b4bb57f9f4139c4b8ab0c86774ca9b3ea9ef Mon Sep 17 00:00:00 2001 From: krepa098 Date: Sat, 3 Jan 2015 13:20:53 +0100 Subject: [PATCH] fixed anchors --- src/chatlog/content/text.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/chatlog/content/text.cpp b/src/chatlog/content/text.cpp index 55525281a..b8783066b 100644 --- a/src/chatlog/content/text.cpp +++ b/src/chatlog/content/text.cpp @@ -51,9 +51,11 @@ Text::~Text() void Text::setText(const QString& txt) { text = txt; - text.replace("\n", "
"); detectAnchors(); + + text.replace("\n", "
"); + ensureIntegrity(); freeResources(); }