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

It was an error to hide maximumattachmentsize feature

parent 8a63cdbf
......@@ -1213,16 +1213,14 @@ ComposerPageAttachmentsTab::ComposerPageAttachmentsTab(QWidget *parent)
mAttachWordsListEditor, &QWidget::setEnabled);
QHBoxLayout *layAttachment = new QHBoxLayout;
label = new QLabel(i18n("Offer to share for files larger than:"), this);
label = new QLabel(i18n("Maximum Attachment Size:"), this);
label->setAlignment(Qt::AlignLeft);
layAttachment->addWidget(label);
label->hide();
mMaximumAttachmentSize = new QSpinBox(this);
mMaximumAttachmentSize->setRange(-1, 99999);
mMaximumAttachmentSize->setSingleStep(100);
mMaximumAttachmentSize->setSuffix(i18nc("spinbox suffix: unit for kilobyte", " kB"));
mMaximumAttachmentSize->hide();
connect(mMaximumAttachmentSize, SIGNAL(valueChanged(int)),
this, SLOT(slotEmitChanged()));
mMaximumAttachmentSize->setSpecialValueText(i18n("No limit"));
......
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