summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaurice Kalinowski <maurice.kalinowski@qt.io>2016-05-10 15:04:45 +0200
committerSimon Hausmann <simon.hausmann@theqtcompany.com>2016-05-10 16:52:08 +0000
commit761331ddc841809a4bdc6ca2f2b84c148cb9b19a (patch)
tree9d9f76ba5b3c893ec3314dfa05402b68de0e76db
parent15ae3f80592d64aa27d5774b2496c33f4ae4cce0 (diff)
downloadqtlocation-761331ddc841809a4bdc6ca2f2b84c148cb9b19a.tar.gz
Fix build
c6c0d730b7a88fa22f40d597183e91b73d9d165d in qtdeclarative changed private API. Hence adapt to those changes. Change-Id: I6acd948b0a1257e8836d5e5f6ebfd3b4b6d8e07b Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
-rw-r--r--src/imports/location/qdeclarativegeomapcopyrightsnotice.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imports/location/qdeclarativegeomapcopyrightsnotice.cpp b/src/imports/location/qdeclarativegeomapcopyrightsnotice.cpp
index 8e0f3b1e..289ea3d9 100644
--- a/src/imports/location/qdeclarativegeomapcopyrightsnotice.cpp
+++ b/src/imports/location/qdeclarativegeomapcopyrightsnotice.cpp
@@ -50,8 +50,8 @@ QDeclarativeGeoMapCopyrightNotice::QDeclarativeGeoMapCopyrightNotice(QQuickItem
{
QQuickAnchors *anchors = property("anchors").value<QQuickAnchors *>();
if (anchors) {
- anchors->setLeft(QQuickAnchorLine(parent, QQuickAnchorLine::Left));
- anchors->setBottom(QQuickAnchorLine(parent, QQuickAnchorLine::Bottom));
+ anchors->setLeft(QQuickAnchorLine(parent, QQuickAnchors::LeftAnchor));
+ anchors->setBottom(QQuickAnchorLine(parent, QQuickAnchors::BottomAnchor));
}
}