diff options
author | Martin Jones <martin.jones@nokia.com> | 2010-05-04 03:39:34 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2010-05-04 03:39:34 (GMT) |
commit | a9a97a9f1ed78d55888679f7ae1a1534f2b20fad (patch) | |
tree | 3df15064feddb1a2dbf83438592b79e33fde85a0 /src/declarative/graphicsitems/qdeclarativelistview.cpp | |
parent | 536d0f141a13474122f99daf98bf6b54e635b474 (diff) | |
download | Qt-a9a97a9f1ed78d55888679f7ae1a1534f2b20fad.zip Qt-a9a97a9f1ed78d55888679f7ae1a1534f2b20fad.tar.gz Qt-a9a97a9f1ed78d55888679f7ae1a1534f2b20fad.tar.bz2 |
Ensure flick endpoint is recalculated for variable height lists.
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativelistview.cpp')
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativelistview.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativelistview.cpp b/src/declarative/graphicsitems/qdeclarativelistview.cpp index 0f3ee61..0aa68db 100644 --- a/src/declarative/graphicsitems/qdeclarativelistview.cpp +++ b/src/declarative/graphicsitems/qdeclarativelistview.cpp @@ -1164,6 +1164,7 @@ void QDeclarativeListViewPrivate::flick(AxisData &data, qreal minExtent, qreal m moveReason = Mouse; if ((!haveHighlightRange || highlightRange != QDeclarativeListView::StrictlyEnforceRange) && snapMode == QDeclarativeListView::NoSnap) { + correctFlick = true; QDeclarativeFlickablePrivate::flick(data, minExtent, maxExtent, vSize, fixupCallback, velocity); return; } |