1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

fixed anchors

This commit is contained in:
krepa098 2015-01-03 13:20:53 +01:00
parent d88aa965fa
commit f3d5b4bb57

View File

@ -51,9 +51,11 @@ Text::~Text()
void Text::setText(const QString& txt)
{
text = txt;
text.replace("\n", "<br/>");
detectAnchors();
text.replace("\n", " <br/>");
ensureIntegrity();
freeResources();
}