summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2011-11-01 15:33:12 +1000
committerQt by Nokia <qt-info@nokia.com>2011-11-02 05:43:55 +0100
commit647e59fdb1b56ee8da3821ad0cab8a31727fc8eb (patch)
tree68a07c50bc74300292f596fc0b898a87fec0be37 /tests
parenta7b1f30d572db18acc0c78e03dbeb2efd4104486 (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.cpp10
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);
-
-
}