Commit 6a7f5526 authored by Laurent Montel's avatar Laurent Montel 😁

Use Qt::PlainText

parent 2413eae1
......@@ -50,6 +50,7 @@ CollectionQuotaWidget::CollectionQuotaWidget(QWidget *parent)
layout->addWidget(lab, 0, 0);
mUsage = new QLabel(this);
mUsage->setTextFormat(Qt::PlainText);
layout->addWidget(mUsage, 0, 1);
QLabel *Status = new QLabel(i18n("Status:"), this);
......
......@@ -67,6 +67,7 @@ public:
lay->addWidget(toolButton);
infoAttachment = new QLabel;
infoAttachment->setMargin(0);
infoAttachment->setTextFormat(Qt::PlainText);
lay->addWidget(infoAttachment);
}
......
......@@ -36,6 +36,7 @@ CryptoStateIndicatorWidget::CryptoStateIndicatorWidget(QWidget *parent)
hbox->setMargin(0);
mSignatureStateIndicator = new QLabel(this);
mSignatureStateIndicator->setAlignment(Qt::AlignHCenter);
mSignatureStateIndicator->setTextFormat(Qt::PlainText);
hbox->addWidget(mSignatureStateIndicator);
mSignatureStateIndicator->setObjectName(QStringLiteral("signatureindicator"));
QPalette p(mSignatureStateIndicator->palette());
......@@ -46,6 +47,7 @@ CryptoStateIndicatorWidget::CryptoStateIndicatorWidget(QWidget *parent)
mEncryptionStateIndicator = new QLabel(this);
mEncryptionStateIndicator->setAlignment(Qt::AlignHCenter);
mEncryptionStateIndicator->setTextFormat(Qt::PlainText);
hbox->addWidget(mEncryptionStateIndicator);
p = mEncryptionStateIndicator->palette();
p.setColor(QPalette::Window, MessageCore::ColorUtil::self()->pgpEncryptedMessageColor());
......
......@@ -25,6 +25,7 @@ StatusBarLabelToggledState::StatusBarLabelToggledState(QWidget *parent)
: QLabel(parent),
mToggleMode(false)
{
setTextFormat(Qt::PlainText);
}
StatusBarLabelToggledState::~StatusBarLabelToggledState()
......
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