diff options
author | ninerider <qt-info@nokia.com> | 2009-10-15 13:09:32 (GMT) |
---|---|---|
committer | ninerider <qt-info@nokia.com> | 2009-10-15 13:12:20 (GMT) |
commit | 5d8a1b95ceece54177c1bf8f8b855498d64c4118 (patch) | |
tree | f08bbf6c6f2321772b50cbdcbaeac924b40ec533 | |
parent | 694976df8fe1866b2496dade643da634656d7b32 (diff) | |
download | Qt-5d8a1b95ceece54177c1bf8f8b855498d64c4118.zip Qt-5d8a1b95ceece54177c1bf8f8b855498d64c4118.tar.gz Qt-5d8a1b95ceece54177c1bf8f8b855498d64c4118.tar.bz2 |
Default section size is taken instead of some fixed value
Test failed on different styles such as Windows Mobile.
Reviewed-by: Ossi
-rw-r--r-- | tests/auto/qheaderview/tst_qheaderview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qheaderview/tst_qheaderview.cpp b/tests/auto/qheaderview/tst_qheaderview.cpp index 920231d..3286768 100644 --- a/tests/auto/qheaderview/tst_qheaderview.cpp +++ b/tests/auto/qheaderview/tst_qheaderview.cpp @@ -1836,7 +1836,7 @@ void tst_QHeaderView::preserveHiddenSectionWidth() model.insertRow(1); view.showSection(2); QCOMPARE(view.sectionSize(0), 100); - QCOMPARE(view.sectionSize(1), 30); + QCOMPARE(view.sectionSize(1), view.defaultSectionSize()); QCOMPARE(view.sectionSize(2), 50); } |