QQuickItemView/QQuickPathView: Fix creation of delegates
authorAlbert Astals Cid <albert.astals@canonical.com>
Tue, 15 Apr 2014 13:27:29 +0000 (15:27 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 18 Apr 2014 05:39:32 +0000 (07:39 +0200)
commit5772da7e911832e71634322345948b0c98d397bf
tree8526b8b4a782d3f1ff09b2aca783bd11d8bf1682
parentdc051f28b865e54d3834824ffea6f2562f0836c1
QQuickItemView/QQuickPathView: Fix creation of delegates

When the delegate is set before the model and
after the ItemView/PathView has been created

Task-number: QTBUG-38368
Change-Id: I6963abe28087699cf4e8921153dc7641bae3b220
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
src/quick/items/qquickitemview.cpp
src/quick/items/qquickpathview.cpp
tests/auto/qmltest/listview/tst_listview.qml
tests/auto/qmltest/pathview/tst_pathview.qml [new file with mode: 0644]