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>
This commit is contained in:
Jason McDonald 2011-10-31 15:31:39 +10:00 committed by Qt by Nokia
parent fd672569e4
commit 79fb588030

View File

@ -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