diff options
author | Lars Knoll <lars.knoll@qt.io> | 2017-09-08 17:31:36 +0200 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2017-09-09 09:42:38 +0000 |
commit | cf038f9059d88271c087b958f04a10e6f468c249 (patch) | |
tree | c2a2052d404ac29a7197641e39ed7e03d18b4e7e /tests | |
parent | 5212c27c7ca2fb708a563c000debd46a377d72ac (diff) |
Fix logic error
This should be removeAll instead of remove(). Remove takes an
integer (index into the array). It compiles by chance (but doesn't
do the right thing), as QHandle has a cast operator to int.
Change-Id: If8d59a535021bab3d2553f83bef7cf769c738dd6
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions