A change in ListView's header height can cause it to overlap the items
authorMartin Jones <martin.jones@nokia.com>
Wed, 27 Jul 2011 08:11:21 +0000 (18:11 +1000)
committerQt by Nokia <qt-info@nokia.com>
Thu, 28 Jul 2011 03:05:16 +0000 (05:05 +0200)
commit3b3a997cfaf24d18202ebda263d04629956738e8
tree3dd2e433b1d2d94adcc54c4ae0eafe9217c1c48a
parenta8d3802938df60a74990c2c915446061b047057d
A change in ListView's header height can cause it to overlap the items

If there are no visibleItems the header has no choice but to
set visiblePos to a value after itself.

Change-Id: I7748db46272989e421eeca88577b6fcf79814b5b
Fixes: QTBUG-19844
Reviewed-on: http://codereview.qt.nokia.com/2254
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Bea Lam <bea.lam@nokia.com>
src/qtquick1/graphicsitems/qdeclarativelistview.cpp
tests/auto/qtquick1/qdeclarativelistview/tst_qdeclarativelistview.cpp