summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/widgets/widgets/qmainwindow/tst_qmainwindow.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/auto/widgets/widgets/qmainwindow/tst_qmainwindow.cpp b/tests/auto/widgets/widgets/qmainwindow/tst_qmainwindow.cpp
index 966f5842a0..85bb481449 100644
--- a/tests/auto/widgets/widgets/qmainwindow/tst_qmainwindow.cpp
+++ b/tests/auto/widgets/widgets/qmainwindow/tst_qmainwindow.cpp
@@ -1539,15 +1539,6 @@ void tst_QMainWindow::saveRestore()
mainWindow.layout()->setGeometry(mainWindow.rect());
COMPARE_DOCK_WIDGET_GEOS(dockWidgetGeos, dockWidgetGeometries(&mainWindow));
-
-#if 0
- QEventLoop eventLoop;
- QPushButton quitButton("Quit", &centralWidget);
- quitButton.setGeometry(0, 0, 100, 40);
- connect(&quitButton, SIGNAL(clicked()), &eventLoop, SLOT(quit()));
- quitButton.show();
- eventLoop.exec();
-#endif
}
// restoreState() after show