Change QGeoRectangle::translate to not modify the rectangle
QGeoRectangle::translate currently modifies the rectangle if the
latitudinal offset brings the rectangle out of bounds.
This patch changes the behavior of the translation, clamping the
latitudinal offset, and preventing changes to the rectangle geometry.
Change-Id: Iedb8823bbd6e3c04ee499bb9f9945049a9590aae
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
| commit | 4ed9e84d5933a3eeaf55ac2f39fec826f0cadad0 |
| parent | cd8880cc04b22610e835e6cc02cc16ac22ec9fae |
| author | Paolo Angelelli <paolo.angelelli@qt.io> |
| committer | Paolo Angelelli <paolo.angelelli@qt.io> |
| commit time | Wed, 30 Nov 2016 12:20:58 +0000 |