diff options
Diffstat (limited to 'tests/auto/widgets/kernel')
-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); - - } |