mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fixed anchors
This commit is contained in:
parent
d88aa965fa
commit
f3d5b4bb57
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user