Commit 47986921 authored by Tobias Leupold's avatar Tobias Leupold
Browse files

Removed erroneously set variable declarations

parent 5a69dc57
Pipeline #131813 passed with stage
in 3 minutes and 40 seconds
......@@ -272,7 +272,7 @@ ComposerPageGeneralTab::ComposerPageGeneralTab(QWidget *parent)
QLabel *label = nullptr;
#if KDEPIM_ENTERPRISE_BUILD
// "Default forwarding type" combobox
auto mForwardTypeCombo = new QComboBox(this);
mForwardTypeCombo = new QComboBox(this);
mForwardTypeCombo->addItems(QStringList() << i18nc("@item:inlistbox Inline mail forwarding", "Inline") << i18n("As Attachment"));
helpText = i18n("Set the default forwarded message format");
......@@ -331,13 +331,13 @@ ComposerPageGeneralTab::ComposerPageGeneralTab(QWidget *parent)
#if KDEPIM_ENTERPRISE_BUILD
// "Warn if too many recipients" checkbox/spinbox
auto mRecipientCheck = new QCheckBox(KMailSettings::self()->tooManyRecipientsItem()->label(), this);
mRecipientCheck = new QCheckBox(KMailSettings::self()->tooManyRecipientsItem()->label(), this);
mRecipientCheck->setObjectName(QStringLiteral("kcfg_TooManyRecipients"));
helpText = i18n(KMailSettings::self()->tooManyRecipientsItem()->whatsThis().toUtf8().constData());
mRecipientCheck->setWhatsThis(helpText);
mRecipientCheck->setToolTip(i18n("Warn if too many recipients are specified"));
auto mRecipientSpin = new QSpinBox(this);
mRecipientSpin = new QSpinBox(this);
mRecipientSpin->setMaximum(100 /*max*/);
mRecipientSpin->setMinimum(1 /*min*/);
mRecipientSpin->setSingleStep(1 /*step*/);
......
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