summaryrefslogtreecommitdiff
path: root/src/imports/location/qdeclarativegeomapquickitem.cpp
diff options
context:
space:
mode:
authorJuha Vuolle <juha.vuolle@nokia.com>2011-12-20 15:31:34 +0200
committerQt by Nokia <qt-info@nokia.com>2011-12-21 00:29:44 +0100
commit34e23060498f33308065e79d917355d59665474e (patch)
tree667c25ae80b653762b88cb502c30546320b6c7bc /src/imports/location/qdeclarativegeomapquickitem.cpp
parent0fe4f59487ca01531190cd06ac16da098356f291 (diff)
downloadqtlocation-34e23060498f33308065e79d917355d59665474e.tar.gz
Map item autotests and related fixes.
Change-Id: Ib44f55814baea9e8908a4092102bd42b8b18d5eb Reviewed-by: David Laing <david.laing@nokia.com>
Diffstat (limited to 'src/imports/location/qdeclarativegeomapquickitem.cpp')
-rw-r--r--src/imports/location/qdeclarativegeomapquickitem.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/imports/location/qdeclarativegeomapquickitem.cpp b/src/imports/location/qdeclarativegeomapquickitem.cpp
index 6f2bc865..66aa71de 100644
--- a/src/imports/location/qdeclarativegeomapquickitem.cpp
+++ b/src/imports/location/qdeclarativegeomapquickitem.cpp
@@ -110,6 +110,7 @@ void QDeclarativeGeoMapQuickItem::setMap(QDeclarativeGeoMap* quickMap, Map *map)
void QDeclarativeGeoMapQuickItem::geometryChanged(const QRectF &newGeometry, const QRectF &oldGeometry)
{
+ /*
if (!dragActive_ && quickMap() && sourceItem() && newGeometry.isValid() && newGeometry != oldGeometry) {
QPointF point(newGeometry.x(), newGeometry.y());
// screenPositionToCoordinate seems to return nan values when
@@ -120,6 +121,7 @@ void QDeclarativeGeoMapQuickItem::geometryChanged(const QRectF &newGeometry, con
setCoordinate(&internalCoordinate_);
}
}
+ */
QQuickItem::geometryChanged(newGeometry, oldGeometry);
}