summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/widgets
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2011-10-31 15:31:39 +1000
committerQt by Nokia <qt-info@nokia.com>2011-10-31 08:31:30 +0100
commit79fb588030fbfec9f5e8cc2d81c90965e181631f (patch)
treed10ba0cb0d8e5a8ec854fd0a6632d7d788296bf2 /tests/auto/widgets/widgets
parentfd672569e4ba045766713b121fe16472ef2d3f8e (diff)
Remove disabled code from QMainWindow autotest.
The removed code has been disabled since it was first added in October 2006. Change-Id: I10243aa2979fd1615c919ec522d10d77d6527b3b Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests/auto/widgets/widgets')
-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