Check for map in map item's geometryChanged


Add additional sanity checks to do the geometry changing
only if the map() has been set already (that is, the
item has been added to the map)

Change-Id: Id5b5faa41c68c80c3ad322f408b7a8abe5d2f7ab
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
commite924f737a6f28792a682f0dcce63a5442cdd43ce
parent67ae01ab1ac3db9f33929c49349506a7f2f26c2b
authorPaolo Angelelli <paolo.angelelli@qt.io>
committerPaolo Angelelli <paolo.angelelli@qt.io>
commit timeMon, 27 Mar 2017 11:22:37 +0000