Commit db8e4340 authored by Paolo Angelelli's avatar Paolo Angelelli
Browse files

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: default avatarBogDan Vatra <bogdan@kdab.com>
parent 47e2c461
Showing with 8 additions and 8 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment