Fix slow Map.removeMapItem


This removes connections in map items to react on map changes.

A further improvement could be replacing item lists with QSets.
This might however have implications with plugins which
might expect ordered items.

Change-Id: I52dbd64ed22762b1e2d51d1bc38f496346e7a664
Fixes: QTBUG-76950
(cherry picked from commit 2bb07804f32e0c9cc7948a5cff0bcef81ae9d8c9)
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
commit60925ff5d4aaf211090b246618b492cf177cf21d
parent769de139fa137d9845b156ac96afb8bec16ff307
authorPaolo Angelelli <paolo.angelelli@qt.io>
committerpaolo <paolo.angelelli@qt.io>
commit timeThu, 31 Oct 2019 11:17:30 +0100