diff options
author | Andrei Golubev <andrei.golubev@qt.io> | 2021-04-25 12:36:46 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-04-26 17:47:16 +0000 |
commit | 28fda7d3942658f7b11f85f002654f0476553152 (patch) | |
tree | 1d801803b759123835e9a6da67b1f339d90fd61d /tests | |
parent | 4eca69b86a42595448acf53e5edb555d7e0852f4 (diff) |
Do not shift the data pointer when removing all elements from QList
Because leaving the pointer untouched is a much more expected behavior
The tests for this (and not only) logic can be found in the following commit
Change-Id: Iec9eec9bbce04c9fd90cb6be9627c135cd989b7f
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
(cherry picked from commit 38bba2a87c6c5c2b8100870add6d0d7ad559e669)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions