diff options
author | Jason McDonald <jason.mcdonald@nokia.com> | 2011-11-01 15:33:12 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-11-02 05:43:55 +0100 |
commit | 647e59fdb1b56ee8da3821ad0cab8a31727fc8eb (patch) | |
tree | 68a07c50bc74300292f596fc0b898a87fec0be37 /tests | |
parent | a7b1f30d572db18acc0c78e03dbeb2efd4104486 (diff) |
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>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/widgets/kernel/qgridlayout/tst_qgridlayout.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/auto/widgets/kernel/qgridlayout/tst_qgridlayout.cpp b/tests/auto/widgets/kernel/qgridlayout/tst_qgridlayout.cpp index 4f0630e80f..9aed5438a2 100644 --- a/tests/auto/widgets/kernel/qgridlayout/tst_qgridlayout.cpp +++ b/tests/auto/widgets/kernel/qgridlayout/tst_qgridlayout.cpp @@ -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); - - } |