diff options
author | Marius Bugge Monsen <mmonsen@trolltech.com> | 2009-06-05 12:42:57 +0200 |
---|---|---|
committer | Marius Bugge Monsen <mmonsen@trolltech.com> | 2009-06-05 12:42:57 +0200 |
commit | 15abc701329bfeee9cd3e9793eb5ccfb1fe81d01 (patch) | |
tree | d4842e51b86b2458fa5b2612901aebb5a1c49dd3 | |
parent | 9350c0f348a2b35a1a612085bc8ba929f705d812 (diff) |
Update the tst_QtGraphicsTreeView::layout() function to call layout, even when expanding branches.
-rw-r--r-- | tests/qgraphicstreeview/tst_qgraphicstreeview.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/qgraphicstreeview/tst_qgraphicstreeview.cpp b/tests/qgraphicstreeview/tst_qgraphicstreeview.cpp index 738b1b5..8aa31c3 100644 --- a/tests/qgraphicstreeview/tst_qgraphicstreeview.cpp +++ b/tests/qgraphicstreeview/tst_qgraphicstreeview.cpp @@ -249,9 +249,8 @@ void tst_QtGraphicsTreeView::layout() view->setItemExpanded(it); view->nextItem(it); } - } else { - view->doLayout(); } + view->doLayout(); // get top item iterator and check geometries QtTreeModelIterator it = view->itemAt(QPointF(10, 10)); |