Fix layout bug from view refactoring
authorBea Lam <bea.lam@nokia.com>
Mon, 18 Jul 2011 03:29:18 +0000 (13:29 +1000)
committerQt by Nokia <qt-info@nokia.com>
Fri, 22 Jul 2011 00:21:16 +0000 (02:21 +0200)
commitb3ff60a43d0612ee12da18afff34941c6b307cdc
treea2991ce3ace662adbac2da48d7b25e44e4a1ade5
parentb095e7f7b79b537433f955214d5d0d1de3f12df1
Fix layout bug from view refactoring

GridView should call layout() not layoutVisibleItems() in
setCellWidth(), setCellHeight() and itemsMoved()

Bug introduced when refactoring view code into QSGItemView.

Change-Id: I48bc63c0a08c10c005bf45a2a7902cb01632cbf9
Reviewed-on: http://codereview.qt.nokia.com/1726
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Bea Lam <bea.lam@nokia.com>
src/declarative/items/qsggridview.cpp