aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2011-09-02 18:04:00 +1000
committerQt by Nokia <qt-info@nokia.com>2011-09-02 10:01:57 +0200
commite824620e9306d665b81cb12e167f50fb1090fddc (patch)
tree86562fefedbe5cc39185ed35a877f4c4425f2bfb
parent44dabd02d63ecdb776b6a102888af06cac5987c0 (diff)
Ensure layout is done after delayed deletion of items
Regression from 1dd8b509074ba60da671f7671f8cf09c3fc001ae Change-Id: I5957444e2f1493aa8fbf3b532fd1ef704deec50c Reviewed-on: http://codereview.qt.nokia.com/4118 Reviewed-by: Bea Lam <bea.lam@nokia.com>
-rw-r--r--src/declarative/items/qsgitemview.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/items/qsgitemview.cpp b/src/declarative/items/qsgitemview.cpp
index 401a17e2b7..141be4f0dd 100644
--- a/src/declarative/items/qsgitemview.cpp
+++ b/src/declarative/items/qsgitemview.cpp
@@ -775,6 +775,7 @@ void QSGItemView::destroyRemoved()
// Correct the positioning of the items
d->updateSections();
+ d->forceLayout = true;
d->layout();
}