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

Clean up

parent 382a2e65
Pipeline #29603 passed with stage
in 75 minutes and 22 seconds
......@@ -49,7 +49,7 @@ CollectionExpiryWidget::CollectionExpiryWidget(QWidget *parent)
expireReadMailCB = new QCheckBox(this);
expireReadMailCB->setText(i18n("Expire read messages after"));
connect(expireReadMailCB, &QCheckBox::toggled, this, &CollectionExpiryWidget::slotUpdateControls);
daysBox->addWidget(expireReadMailCB, 0, 0, Qt::AlignLeft);
daysBox->addWidget(expireReadMailCB, 0, 0);
expireReadMailSB = new KPluralHandlingSpinBox(this);
expireReadMailSB->setMaximum(999999);
......@@ -61,7 +61,7 @@ CollectionExpiryWidget::CollectionExpiryWidget(QWidget *parent)
expireUnreadMailCB = new QCheckBox(this);
expireUnreadMailCB->setText(i18n("Expire unread messages after"));
connect(expireUnreadMailCB, &QCheckBox::toggled, this, &CollectionExpiryWidget::slotUpdateControls);
daysBox->addWidget(expireUnreadMailCB, 1, 0, Qt::AlignLeft);
daysBox->addWidget(expireUnreadMailCB, 1, 0);
expireUnreadMailSB = new KPluralHandlingSpinBox(this);
expireUnreadMailSB->setMaximum(99999);
......
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