qt 6.6.0 clean

This commit is contained in:
kleuter
2023-11-01 22:23:55 +01:00
parent 7b5ada15e7
commit 5d8194efa7
1449 changed files with 134276 additions and 31391 deletions

View File

@ -38,6 +38,9 @@ private slots:
void detailsButtonText();
void expandDetailsWithoutMoving();
void optionsEmptyByDefault();
void changeNativeOption();
#ifndef Q_OS_MAC
void shortcut();
#endif
@ -627,6 +630,20 @@ void tst_QMessageBox::expandDetailsWithoutMoving() // QTBUG-32473
QCOMPARE(box.geometry().topLeft(), geom.topLeft());
}
void tst_QMessageBox::optionsEmptyByDefault()
{
QMessageBox b;
QCOMPARE(b.options(), QMessageBox::Options());
QVERIFY(!b.testOption(QMessageBox::Option::DontUseNativeDialog));
}
void tst_QMessageBox::changeNativeOption()
{
QMessageBox b;
b.setOption(QMessageBox::Option::DontUseNativeDialog);
QCOMPARE(b.options(), QMessageBox::Options(QMessageBox::Option::DontUseNativeDialog));
}
void tst_QMessageBox::incorrectDefaultButton()
{
ExecCloseHelper closeHelper;