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:
parent
fd672569e4
commit
79fb588030
@ -1539,15 +1539,6 @@ void tst_QMainWindow::saveRestore()
|
|||||||
|
|
||||||
mainWindow.layout()->setGeometry(mainWindow.rect());
|
mainWindow.layout()->setGeometry(mainWindow.rect());
|
||||||
COMPARE_DOCK_WIDGET_GEOS(dockWidgetGeos, dockWidgetGeometries(&mainWindow));
|
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
|
// restoreState() after show
|
||||||
|
Loading…
Reference in New Issue
Block a user