aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2011-10-17 15:50:07 +1000
committerQt by Nokia <qt-info@nokia.com>2011-10-17 07:52:06 +0200
commitb71363fda9822fab6d7fb93143173c6ba4cb8aa3 (patch)
treea8b78ec0c0db9476aaaa47d96e478c37c4de72e1 /src
parentd06594d69bb35aacc00693e7480295cb33d1fb6f (diff)
Fix GridView to repaint when geometry changes
Task-number: QTBUG-22078 Change-Id: Ic0ad67832dad9a7b3a7e5501893befe2d30b6c94 Reviewed-by: Bea Lam <bea.lam@nokia.com>
Diffstat (limited to 'src')
-rw-r--r--src/declarative/items/qsggridview.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/items/qsggridview.cpp b/src/declarative/items/qsggridview.cpp
index 6b01583497..2507a293de 100644
--- a/src/declarative/items/qsggridview.cpp
+++ b/src/declarative/items/qsggridview.cpp
@@ -788,6 +788,7 @@ void QSGGridViewPrivate::itemGeometryChanged(QSGItem *item, const QRectF &newGeo
if (item == q) {
if (newGeometry.height() != oldGeometry.height() || newGeometry.width() != oldGeometry.width()) {
updateViewport();
+ forceLayout = true;
q->polish();
}
}