diff --git a/src/timeline/TimelineItem.cc b/src/timeline/TimelineItem.cc index d2720600..93987d52 100644 --- a/src/timeline/TimelineItem.cc +++ b/src/timeline/TimelineItem.cc @@ -354,7 +354,7 @@ TimelineItem::markReceived() void TimelineItem::generateBody(const QString &body) { - QString content(" %1 "); + QString content("%1"); 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(" %1 ").arg(replaceEmoji(body))); + body_->setText(QString("%1").arg(replaceEmoji(body))); body_->setTextInteractionFlags(Qt::TextSelectableByMouse | Qt::TextBrowserInteraction); body_->setOpenExternalLinks(true); body_->setMargin(0);