diff options
author | Paolo Angelelli <paolo.angelelli@qt.io> | 2016-08-25 12:06:32 +0200 |
---|---|---|
committer | Paolo Angelelli <paolo.angelelli@qt.io> | 2016-12-01 13:45:39 +0000 |
commit | 6ac41c0f58f34606afaa289243d762afd5f879d4 (patch) | |
tree | 91dc1699302673bc0131440a04110cb5ea6adef2 /tests | |
parent | 423d96a446cdacfe77722bd0cd3375022b2931f5 (diff) | |
download | qtlocation-6ac41c0f58f34606afaa289243d762afd5f879d4.tar.gz |
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>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions