From 79fb588030fbfec9f5e8cc2d81c90965e181631f Mon Sep 17 00:00:00 2001 From: Jason McDonald Date: Mon, 31 Oct 2011 15:31:39 +1000 Subject: [PATCH] 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 --- .../auto/widgets/widgets/qmainwindow/tst_qmainwindow.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/tests/auto/widgets/widgets/qmainwindow/tst_qmainwindow.cpp b/tests/auto/widgets/widgets/qmainwindow/tst_qmainwindow.cpp index 966f5842a06..85bb481449a 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", ¢ralWidget); - quitButton.setGeometry(0, 0, 100, 40); - connect(&quitButton, SIGNAL(clicked()), &eventLoop, SLOT(quit())); - quitButton.show(); - eventLoop.exec(); -#endif } // restoreState() after show