Commit 75e0acb4 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

We don't need to remove these margins

parent a2bc34a3
Pipeline #38153 passed with stage
in 54 minutes and 30 seconds
......@@ -22,7 +22,6 @@ void DKIMAdvancedWidgetTest::shouldHaveDefaultValues()
DKIMAdvancedWidget w;
QFormLayout *mainLayout = w.findChild<QFormLayout *>(QStringLiteral("mainLayout"));
QVERIFY(mainLayout);
QCOMPARE(mainLayout->contentsMargins(), QMargins(0, 0, 0, 0));
QCheckBox *mCheckDKIMWhenOnlyTesting = w.findChild<QCheckBox *>(QStringLiteral("mCheckDKIMWhenOnlyTesting"));
QVERIFY(mCheckDKIMWhenOnlyTesting);
......
......@@ -21,7 +21,6 @@ void DKIMGeneralWidgetTest::shouldHaveDefaultValues()
DKIMGeneralWidget w;
QVBoxLayout *mainLayout = w.findChild<QVBoxLayout *>(QStringLiteral("mainLayout"));
QVERIFY(mainLayout);
QCOMPARE(mainLayout->contentsMargins(), QMargins(0, 0, 0, 0));
QCheckBox *mEnableDkimSupport = w.findChild<QCheckBox *>(QStringLiteral("enableDkimSupport"));
QVERIFY(mEnableDkimSupport);
......
......@@ -21,7 +21,6 @@ void DKIMKeyRecordWidgetTest::shouldHaveDefaultValues()
DKIMKeyRecordWidget w;
QHBoxLayout *mainLayout = w.findChild<QHBoxLayout *>(QStringLiteral("mainLayout"));
QVERIFY(mainLayout);
QCOMPARE(mainLayout->contentsMargins(), QMargins(0, 0, 0, 0));
MessageViewer::DKIMManagerKeyWidget *mManagerKeyWidget = w.findChild<MessageViewer::DKIMManagerKeyWidget *>(QStringLiteral("mManagerKeyWidget"));
QVERIFY(mManagerKeyWidget);
......
......@@ -25,7 +25,6 @@ void DKIMPolicyWidgetTest::shouldHaveDefaultValues()
DKIMPolicyWidget w;
QVBoxLayout *mainLayout = w.findChild<QVBoxLayout *>(QStringLiteral("mainLayout"));
QVERIFY(mainLayout);
QCOMPARE(mainLayout->contentsMargins(), QMargins(0, 0, 0, 0));
QCheckBox *mVerifyIfEmailMustBeSigned = w.findChild<QCheckBox *>(QStringLiteral("mVerifyIfEmailMustBeSigned"));
QVERIFY(mVerifyIfEmailMustBeSigned);
......
......@@ -22,7 +22,6 @@ DKIMAdvancedWidget::DKIMAdvancedWidget(QWidget *parent)
{
QFormLayout *mainLayout = new QFormLayout(this);
mainLayout->setObjectName(QStringLiteral("mainLayout"));
mainLayout->setContentsMargins({});
mCheckDKIMWhenOnlyTesting = new QCheckBox(i18n("Still verify the signature, if a domain is only testing DKIM"), this);
mCheckDKIMWhenOnlyTesting->setObjectName(QStringLiteral("mCheckDKIMWhenOnlyTesting"));
......
......@@ -19,7 +19,6 @@ DKIMGeneralWidget::DKIMGeneralWidget(QWidget *parent)
{
QVBoxLayout *mainLayout = new QVBoxLayout(this);
mainLayout->setObjectName(QStringLiteral("mainLayout"));
mainLayout->setContentsMargins({});
mEnableDkimSupport = new QCheckBox(i18n("Enable DKIM Support"));
mEnableDkimSupport->setObjectName(QStringLiteral("enableDkimSupport"));
......
......@@ -20,7 +20,6 @@ DKIMKeyRecordWidget::DKIMKeyRecordWidget(QWidget *parent)
{
QHBoxLayout *mainLayout = new QHBoxLayout(this);
mainLayout->setObjectName(QStringLiteral("mainLayout"));
mainLayout->setContentsMargins({});
mManagerKeyWidget->setObjectName(QStringLiteral("mManagerKeyWidget"));
mainLayout->addWidget(mManagerKeyWidget);
......
......@@ -22,7 +22,6 @@ DKIMPolicyWidget::DKIMPolicyWidget(QWidget *parent)
{
QVBoxLayout *mainLayout = new QVBoxLayout(this);
mainLayout->setObjectName(QStringLiteral("mainLayout"));
mainLayout->setContentsMargins({});
mVerifyIfEmailMustBeSigned = new QCheckBox(i18n("Check if e-mail should be signed"), this);
mVerifyIfEmailMustBeSigned->setObjectName(QStringLiteral("mVerifyIfEmailMustBeSigned"));
......
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