Schedule layout changes to avoid refill() recursion.
authorMitch Curtis <mitch.curtis@digia.com>
Mon, 21 Jul 2014 12:55:30 +0000 (14:55 +0200)
committerMitch Curtis <mitch.curtis@digia.com>
Thu, 24 Jul 2014 08:17:13 +0000 (10:17 +0200)
commit1416e6bd3ec4aaefe33bb64c9ad64d251f7f2885
tree9c3ad42a4d18e543473ce57e925fe4b7f985c5ad
parentbca2eb550de0148dc53aeb1f9e7a036a692fd01d
Schedule layout changes to avoid refill() recursion.

Otherwise we add duplicate item delegates.

Task-number: QTBUG-40298
Change-Id: I8a2221d72f458c892720a71d87513808a5d725a6
Reviewed-by: Martin Jones <martin.jones@jollamobile.com>
src/quick/items/qquickpathview.cpp
src/quick/items/qquickpathview_p_p.h
tests/auto/quick/qquickpathview/data/changePathDuringRefill.qml [new file with mode: 0644]
tests/auto/quick/qquickpathview/tst_qquickpathview.cpp