Remove disabled code from qgridlayout autotest
The removed code was already disabled when it was first added in June 2006, and is based on assumptions that no longer hold true. Change-Id: Id7941d46e2a993aac422554dcc5540eb64eac492 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
This commit is contained in:
parent
a7b1f30d57
commit
647e59fdb1
@ -458,19 +458,9 @@ void tst_QGridLayout::spacingAndSpacers()
|
||||
|
||||
rightChild.show();
|
||||
|
||||
#if 0
|
||||
leftChild.setMaximumWidth(200);
|
||||
rightChild.setMaximumWidth(200);
|
||||
|
||||
QApplication::sendPostedEvents(0, 0);
|
||||
QCOMPARE(widget.maximumWidth(), leftChild.maximumWidth() + rightChild.maximumWidth());
|
||||
#endif
|
||||
|
||||
layout.removeWidget(&rightChild);
|
||||
QApplication::sendPostedEvents(0, 0);
|
||||
QCOMPARE(widget.sizeHint(), expectedSizeHint);
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user