Checking for map presence before fitting to geoshape
With this patch, m_pendingFitViewport is set also if m_map is not yet
set. Otherwise fitViewportToGeoShape() fails silently, but the flag
doesn't get set, and when the map will finally be set, the fitting
operation won't be performed
Change-Id: Ibfb147d89510e6512fed2d711bb31b12b4a39657
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
| commit | 6ac41c0f58f34606afaa289243d762afd5f879d4 |
| parent | 423d96a446cdacfe77722bd0cd3375022b2931f5 |
| author | Paolo Angelelli <paolo.angelelli@qt.io> |
| committer | Paolo Angelelli <paolo.angelelli@qt.io> |
| commit time | Thu, 1 Dec 2016 13:45:39 +0000 |