diff options
author | Mitch Curtis <mitch.curtis@digia.com> | 2013-04-16 12:26:38 (GMT) |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-04-17 06:16:22 (GMT) |
commit | 6a3d99ff1747f725fbdfba0353eb74175156fab8 (patch) | |
tree | 7b5f2bc8638f96fd459aba641c8589562e7c5c2e /src/scripttools | |
parent | 11bac1e6f7b7a0d8be25554dc08917fa1b00d4f8 (diff) | |
download | Qt-6a3d99ff1747f725fbdfba0353eb74175156fab8.zip Qt-6a3d99ff1747f725fbdfba0353eb74175156fab8.tar.gz Qt-6a3d99ff1747f725fbdfba0353eb74175156fab8.tar.bz2 |
Prevent crash when moving elements of a ListView's ListModel.
QDeclarativeListView::itemsMoved wasn't checking if its list of visible
items was empty before accessing its first element.
Task-number: QTBUG-26836
Change-Id: I5ed42889a55026f19e44e44d14080a61fff63b59
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
Diffstat (limited to 'src/scripttools')
0 files changed, 0 insertions, 0 deletions