Commit 24cda77d authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Enabled it by default

parent 5cf8b28b
......@@ -42,7 +42,7 @@ void DKIMRuleWidgetTest::shouldHaveDefaultValues()
QCheckBox *mEnabled = w.findChild<QCheckBox *>(QStringLiteral("enabled"));
QVERIFY(mEnabled);
QVERIFY(!mEnabled->text().isEmpty());
QVERIFY(!mEnabled->isChecked());
QVERIFY(mEnabled->isChecked());
QLineEdit *mDomain = w.findChild<QLineEdit *>(QStringLiteral("domain"));
QVERIFY(mDomain);
......
......@@ -33,6 +33,7 @@ DKIMRuleWidget::DKIMRuleWidget(QWidget *parent)
mEnabled = new QCheckBox(i18n("Enabled"), this);
mEnabled->setObjectName(QStringLiteral("enabled"));
mEnabled->setChecked(true);
layout->addWidget(mEnabled);
mDomain = new QLineEdit(this);
......
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