summaryrefslogtreecommitdiff
path: root/src/location/declarativemaps/qdeclarativegeomapitembase.cpp
diff options
context:
space:
mode:
authorPaolo Angelelli <paolo.angelelli@qt.io>2017-01-26 15:33:50 +0100
committerPaolo Angelelli <paolo.angelelli@qt.io>2017-01-30 11:45:45 +0000
commit19fa507fc6c75e472d88f97353ded9340c084de8 (patch)
tree20be9d5c58280473859c6ff681f5de8585a6a416 /src/location/declarativemaps/qdeclarativegeomapitembase.cpp
parent7fc3265612963e8d4c58c2b3fd4d2d432b64483b (diff)
downloadqtlocation-19fa507fc6c75e472d88f97353ded9340c084de8.tar.gz
Clean up dead code and TODO comments
This patch cleans up dead or disabled code and TODO comments added with change c57d42b47004623db9b934d0688180ec6dc1a73e Change-Id: I2817f20c8eb56386f8dbee2c661e3034f48caa30 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'src/location/declarativemaps/qdeclarativegeomapitembase.cpp')
-rw-r--r--src/location/declarativemaps/qdeclarativegeomapitembase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/location/declarativemaps/qdeclarativegeomapitembase.cpp b/src/location/declarativemaps/qdeclarativegeomapitembase.cpp
index d3a527cc..c4d43b45 100644
--- a/src/location/declarativemaps/qdeclarativegeomapitembase.cpp
+++ b/src/location/declarativemaps/qdeclarativegeomapitembase.cpp
@@ -179,7 +179,7 @@ void QDeclarativeGeoMapItemBase::setPositionOnMap(const QGeoCoordinate &coordina
return;
QDoubleVector2D wrappedProjection = map_->geoProjection().geoToWrappedMapProjection(coordinate);
- if (! map_->geoProjection().isProjectable(wrappedProjection))
+ if (!map_->geoProjection().isProjectable(wrappedProjection))
return;
QDoubleVector2D pos = map_->geoProjection().wrappedMapProjectionToItemPosition(wrappedProjection);