mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 19:08:58 +03:00
parent
2274642f12
commit
9eedcd700a
1 changed files with 2 additions and 2 deletions
|
@ -354,7 +354,7 @@ TimelineItem::markReceived()
|
|||
void
|
||||
TimelineItem::generateBody(const QString &body)
|
||||
{
|
||||
QString content("<span> %1 </span>");
|
||||
QString content("<span>%1</span>");
|
||||
|
||||
body_ = new QLabel(this);
|
||||
body_->setFont(font_);
|
||||
|
@ -393,7 +393,7 @@ TimelineItem::generateBody(const QString &userid, const QString &body)
|
|||
body_ = new QLabel(this);
|
||||
body_->setFont(font_);
|
||||
body_->setWordWrap(true);
|
||||
body_->setText(QString("<span> %1 </span>").arg(replaceEmoji(body)));
|
||||
body_->setText(QString("<span>%1</span>").arg(replaceEmoji(body)));
|
||||
body_->setTextInteractionFlags(Qt::TextSelectableByMouse | Qt::TextBrowserInteraction);
|
||||
body_->setOpenExternalLinks(true);
|
||||
body_->setMargin(0);
|
||||
|
|
Loading…
Reference in a new issue