aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/touchmouse
diff options
context:
space:
mode:
authorWang Chuan <ouchuanm@outlook.com>2019-11-30 20:03:19 +0800
committerWang Chuan <ouchuanm@outlook.com>2020-01-15 10:25:21 +0800
commita20132c326f6d2c5fec848efb98dd86afb320e2a (patch)
treee16bfef2d0b32fa3e164f7b9e28af3ac86109e3a /tests/auto/quick/touchmouse
parentc061719d2e63c45dc2e126c8e36e9fe906a0bdfe (diff)
QQuickItemView: fix crash when changing model
When visible items become invisible, ListView will try to cache them and redisplay these items if necessary. However, we can't cache items when changing to a new model, since the old one will be deleted later Fix by adding a flag to let ListView know we are clearing items and prevent cache unnecessary items Fixes: QTBUG-80203 Change-Id: I50dcd3f0586c93496b143bdad0e59751360501a8 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'tests/auto/quick/touchmouse')
0 files changed, 0 insertions, 0 deletions