diff options
Diffstat (limited to 'tests/auto/widgets/kernel')
-rw-r--r-- | tests/auto/widgets/kernel/qapplication/tst_qapplication.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/auto/widgets/kernel/qapplication/tst_qapplication.cpp b/tests/auto/widgets/kernel/qapplication/tst_qapplication.cpp index 80c1bdb202..5e22340b5b 100644 --- a/tests/auto/widgets/kernel/qapplication/tst_qapplication.cpp +++ b/tests/auto/widgets/kernel/qapplication/tst_qapplication.cpp @@ -536,14 +536,6 @@ void tst_QApplication::lastWindowClosed() QCOMPARE(spy.count(), 1); spy.clear(); -#if 0 - // everything is closed, so doing this should not emit lastWindowClosed() again - QMetaObject::invokeMethod(dialog, "close", Qt::QueuedConnection); - QTimer::singleShot(1000, &app, SLOT(quit())); - app.exec(); - QCOMPARE(spy.count(), 0); -#endif - delete dialog; // show 3 windows, close them, should only get lastWindowClosed once |