A GCC 4.8 build fix
Change-Id: Ic128486711118e1124739e8dca30547ab8ba9816 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
parent
4d9375020c
commit
ca20b44959
@ -486,7 +486,7 @@ void tst_QApplication::lastWindowClosed()
|
||||
QPointer<QDialog> dialog = new QDialog;
|
||||
dialog->setWindowTitle(QLatin1String(QTest::currentTestFunction()) + QLatin1String("Dialog"));
|
||||
QVERIFY(dialog->testAttribute(Qt::WA_QuitOnClose));
|
||||
QTimer::singleShot(1000, dialog, &QDialog::accept);
|
||||
QTimer::singleShot(1000, dialog.data(), &QDialog::accept);
|
||||
dialog->exec();
|
||||
QVERIFY(dialog);
|
||||
QCOMPARE(spy.count(), 0);
|
||||
|
Loading…
Reference in New Issue
Block a user