Position section headers correctly when section property changes.
authorAndrew den Exter <andrew.den-exter@nokia.com>
Mon, 25 Jun 2012 23:13:52 +0000 (09:13 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 26 Jun 2012 06:08:32 +0000 (08:08 +0200)
commit4089c2bbc51717a642f17c76c17c9ca73e180f00
tree8b829f1f61c1c76f6594457b4b1a9f9418f25d20
parent058a9ca9a25c4ea5679c741e1a19fe996e23a932
Position section headers correctly when section property changes.

Schedule a new layout after the section property is changed to correct
item positions if section headers are added or removed.

Task-number: QTBUG-24900

Change-Id: I7e46ec6dc00e5a810029396a4c5ca4e87ee1d94d
Reviewed-by: Martin Jones <martin.jones@nokia.com>
src/quick/items/qquicklistview.cpp
tests/auto/quick/qquicklistview/data/sectionpropertychange.qml
tests/auto/quick/qquicklistview/tst_qquicklistview.cpp