diff options
author | Paolo Angelelli <paolo.angelelli@qt.io> | 2017-08-21 14:38:29 +0200 |
---|---|---|
committer | Paolo Angelelli <paolo.angelelli@qt.io> | 2017-08-23 10:43:09 +0000 |
commit | db8e4340d65eea4d82b49a67d525d33cdb0478fc (patch) | |
tree | a8fc82090f8c8ca97425723d958d5d52b0bf780d /tests/auto/qgeoroutingmanagerplugins | |
parent | 47e2c461d517a6bb2fe663f752f3c7dd72c63357 (diff) | |
download | qtlocation-db8e4340d65eea4d82b49a67d525d33cdb0478fc.tar.gz |
Fix QDeclarativeGeoMap::populateMap duplicating items
Since apparently children() and childItems() do not necessarily return
disjoint sets, concatenating the two lists did, in some cases, cause
duplicated items in the map.
This patch resorts to uniting sets to remove the duplicates.
Change-Id: I07ef19a2fdff65429eb65d92be278d7c02ac1999
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
Diffstat (limited to 'tests/auto/qgeoroutingmanagerplugins')
0 files changed, 0 insertions, 0 deletions