Section header is not made visible when changing currentIndex.
authorMartin Jones <martin.jones@nokia.com>
Fri, 3 Feb 2012 00:55:19 +0000 (10:55 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 7 Feb 2012 00:15:25 +0000 (01:15 +0100)
commit201edf3a34c7a69f5ab905c286ab12b975cdc3da
treee86369415b0ecf3685c58c4ab18d6e4701e7af45
parent41462816074b3309efa31febf224120aa66237df
Section header is not made visible when changing currentIndex.

Make section header visible when setting currentIndex to an
item on a section boundary.  Could also affect initial position
if view size started at 0.

Change-Id: Ie65f91826311d34a290d369d8956f1c88f7efb70
Reviewed-by: Bea Lam <bea.lam@nokia.com>
src/quick/items/qquickitemview.cpp
tests/auto/qtquick2/qquicklistview/tst_qquicklistview.cpp