# HG changeset patch # User unC0Rr # Date 1727555233 -7200 # Node ID 2b4f361e3891262bbb25f0eae26d69f671cf1318 # Parent 9be943326d9c2ef066e56fb6ffa01cec28f3ff4e Wrap chat lines into div diff -r 9be943326d9c -r 2b4f361e3891 QTfrontend/ui/widget/chatwidget.cpp --- a/QTfrontend/ui/widget/chatwidget.cpp Wed Aug 28 13:41:51 2024 +0200 +++ b/QTfrontend/ui/widget/chatwidget.cpp Sat Sep 28 22:27:13 2024 +0200 @@ -471,9 +471,9 @@ HWApplication::alert(this, 800); } - chatStrings.append(line); + chatStrings.append(QStringLiteral("
%1
").arg(line)); - chatText->setHtml(""+chatStrings.join("
")+""); + chatText->setHtml(""+chatStrings.join("")+""); afterContentAdd(); } @@ -487,7 +487,7 @@ chatStrings.append("
" + str + "
"); - chatText->setHtml(""+chatStrings.join("
")+""); + chatText->setHtml(""+chatStrings.join("")+""); afterContentAdd(); }