aboutsummaryrefslogtreecommitdiffstats
path: root/src/quickwidgets/qquickwidget.cpp
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2017-11-20 14:01:12 +0100
committerShawn Rutledge <shawn.rutledge@qt.io>2017-12-16 16:34:39 +0000
commit96ec0ab8f0b2e53eff6e1887aff7e51601821845 (patch)
tree0e9b61605fba64388f71eda15734672c2a7af948 /src/quickwidgets/qquickwidget.cpp
parent2cacc1c07a1e361bb20411d3f19fdecb3009be12 (diff)
QQuickList/GridViewPrivate::fixupPosition: don't set moveReason
In QQuickItemViewPrivate::applyModelChanges(), if moveReason = QQuickItemViewPrivate::Other, then QQuickItemView::trackedPositionChanged() will fail to call d->setPosition(pos), which is normally what keeps the Flickable moving for a while. Leave the reason as-is (it will be SetIndex in this case), so as not to forget that we were actually trying to move down when the sequence window->polishItems() -> QQIV::updatePolish() -> layout() -> fixupPosition() did its part of the work of moving down. Task-number: QTBUG-62864 Change-Id: I1021e2ea39265de9e1285e2ee17c5733189ab939 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/quickwidgets/qquickwidget.cpp')
0 files changed, 0 insertions, 0 deletions