Commit 7e4b94d6 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix compile test against qt6

parent 82034f0a
Pipeline #180882 passed with stage
in 10 minutes and 57 seconds
......@@ -32,5 +32,5 @@ void DKIMAuthenticationVerifiedServerDialogTest::shouldHaveDefaultValues()
auto buttonBox = dlg.findChild<QDialogButtonBox *>(QStringLiteral("buttonBox"));
QVERIFY(buttonBox);
QCOMPARE(buttonBox->standardButtons(), {QDialogButtonBox::Ok | QDialogButtonBox::Cancel});
QCOMPARE(buttonBox->standardButtons(), QDialogButtonBox::StandardButtons{QDialogButtonBox::Ok | QDialogButtonBox::Cancel});
}
......@@ -33,5 +33,6 @@ void DKIMConfigureDialogTest::shouldHaveDefaultValue()
auto buttonBox = dlg.findChild<QDialogButtonBox *>(QStringLiteral("buttonBox"));
QVERIFY(buttonBox);
QCOMPARE(buttonBox->standardButtons(), {QDialogButtonBox::Ok | QDialogButtonBox::Cancel | QDialogButtonBox::RestoreDefaults});
QCOMPARE(buttonBox->standardButtons(),
QDialogButtonBox::StandardButtons{QDialogButtonBox::Ok | QDialogButtonBox::Cancel | QDialogButtonBox::RestoreDefaults});
}
......@@ -28,5 +28,5 @@ void OpenUrlWithConfigureCreateDialogTest::shouldHaveDefaultValues()
auto buttonBox = dlg.findChild<QDialogButtonBox *>(QStringLiteral("buttonBox"));
QVERIFY(buttonBox);
QCOMPARE(buttonBox->standardButtons(), {QDialogButtonBox::Ok | QDialogButtonBox::Cancel});
QCOMPARE(buttonBox->standardButtons(), QDialogButtonBox::StandardButtons{QDialogButtonBox::Ok | QDialogButtonBox::Cancel});
}
......@@ -31,5 +31,5 @@ void OpenUrlWithConfigureDialogTest::shouldHaveDefaultValues()
auto buttonBox = dlg.findChild<QDialogButtonBox *>(QStringLiteral("buttonBox"));
QVERIFY(buttonBox);
QCOMPARE(buttonBox->standardButtons(), {QDialogButtonBox::Ok | QDialogButtonBox::Cancel});
QCOMPARE(buttonBox->standardButtons(), QDialogButtonBox::StandardButtons{QDialogButtonBox::Ok | QDialogButtonBox::Cancel});
}
......@@ -13,6 +13,7 @@
#include <MessageViewer/HeaderStyle>
#include <MimeTreeParser/NodeHelper>
#include <QActionGroup>
#include <QStandardPaths>
#include <QTest>
......
Supports Markdown
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