Commit df20b98f authored by Laurent Montel's avatar Laurent Montel 😁

Use Qt::PlainText

parent 39aaba15
......@@ -46,6 +46,7 @@ RecipientsEditorSideWidget::RecipientsEditorSideWidget(RecipientsEditor *view, Q
mTotalLabel = new QLabel(this);
mTotalLabel->setAlignment(Qt::AlignCenter);
mTotalLabel->setTextFormat(Qt::PlainText);
topLayout->addWidget(mTotalLabel);
mTotalLabel->hide();
......
......@@ -96,6 +96,7 @@ FindBarBase::FindBarBase(QWidget *parent)
mStatus = new QLabel;
mStatus->setObjectName(QStringLiteral("status"));
mStatus->setTextFormat(Qt::PlainText);
QFontMetrics fm(mStatus->font());
mNotFoundString = i18n("Phrase not found");
mStatus->setFixedWidth(fm.width(mNotFoundString));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment