diff options
author | Shawn Rutledge <shawn.rutledge@digia.com> | 2012-11-30 14:15:36 +0100 |
---|---|---|
committer | Samuel Rødal <samuel.rodal@digia.com> | 2012-11-30 14:35:44 +0100 |
commit | 1e8989fcb10f04daf5ec1c21d36e829dfbde62ec (patch) | |
tree | 39524a5a5affca68d2dd637d4b768482906fdc19 /src/imports/location/qdeclarativegeomapquickitem.cpp | |
parent | 33dba5ada21adfabe55fa2698106921920ab7e3a (diff) | |
download | qtlocation-1e8989fcb10f04daf5ec1c21d36e829dfbde62ec.tar.gz |
Change usage of deprecated QWindow accessors
Required due to https://codereview.qt-project.org/#change,41252
Change-Id: I7f6da46cd5e8f43579ac7687412b76f0d6b0f343
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
Diffstat (limited to 'src/imports/location/qdeclarativegeomapquickitem.cpp')
-rw-r--r-- | src/imports/location/qdeclarativegeomapquickitem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/location/qdeclarativegeomapquickitem.cpp b/src/imports/location/qdeclarativegeomapquickitem.cpp index 49cf5e7a..2def49c4 100644 --- a/src/imports/location/qdeclarativegeomapquickitem.cpp +++ b/src/imports/location/qdeclarativegeomapquickitem.cpp @@ -363,7 +363,7 @@ void QDeclarativeGeoMapQuickItem::updateMapItem() opacityContainer_->setOpacity(zoomLevelOpacity()); sourceItem_.data()->setScale(scaleFactor()); - sourceItem_.data()->setPos(QPointF(0,0)); + sourceItem_.data()->setPosition(QPointF(0,0)); setWidth(sourceItem_.data()->width()); setHeight(sourceItem_.data()->height()); setPositionOnMap(coordinate(), scaleFactor() * anchorPoint_); |