Fix zoomLevel being emitted when the value has not changed


Map.setZoomLevel currently clamps the user-set value to a valid range.
The current implementation emits zoomLevelChanged every time the
user-set value is different from the current value.
This patch restrict emission to when the actual value has really
changed.

Change-Id: I2096b666d2a5b1849c9022cad028b826cfee2a78
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
commitcc3a5a926db8d07c8282407a7b010b4ab2289592
parent108442eeae16dfcdbdbe3e73a45e6128b7839fe8
authorPaolo Angelelli <paolo.angelelli@qt.io>
committerPaolo Angelelli <paolo.angelelli@qt.io>
commit timeMon, 12 Feb 2018 14:31:02 +0000