diff options
author | Martin Jones <martin.jones@nokia.com> | 2010-03-01 03:53:48 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2010-03-01 03:53:48 (GMT) |
commit | 2c3cc70107d2a4ae32e092703dd6a7de734bee4a (patch) | |
tree | 4fbaf498b826467b1bbfbfbf5e9cf64e2f8038b7 /src/declarative/graphicsitems/qdeclarativegridview.cpp | |
parent | 47201b118179d6585d8eac8ab27f756010024a23 (diff) | |
download | Qt-2c3cc70107d2a4ae32e092703dd6a7de734bee4a.zip Qt-2c3cc70107d2a4ae32e092703dd6a7de734bee4a.tar.gz Qt-2c3cc70107d2a4ae32e092703dd6a7de734bee4a.tar.bz2 |
Set delegate Z before complete() so that view Z is overridden by delegate.
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativegridview.cpp')
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativegridview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativegridview.cpp b/src/declarative/graphicsitems/qdeclarativegridview.cpp index 0a103f3..4555dca 100644 --- a/src/declarative/graphicsitems/qdeclarativegridview.cpp +++ b/src/declarative/graphicsitems/qdeclarativegridview.cpp @@ -315,9 +315,9 @@ FxGridItem *QDeclarativeGridViewPrivate::createItem(int modelIndex) if (QDeclarativeItem *item = model->item(modelIndex, false)) { listItem = new FxGridItem(item, q); listItem->index = modelIndex; + listItem->item->setZValue(1); // complete model->completeItem(); - listItem->item->setZValue(1); listItem->item->setParent(q->viewport()); unrequestedItems.remove(listItem->item); } |