summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Angelelli <paolo.angelelli@qt.io>2018-04-17 17:46:21 +0200
committerPaolo Angelelli <paolo.angelelli@qt.io>2018-04-18 14:15:08 +0000
commit92d8a8d57c70c05150f4633990d1226abd671809 (patch)
treeeb82b11905453db8dc654b0614f4ac488fb58bbf
parent987e5359ade73c4326fe102892dfc1eb1143ba9d (diff)
downloadqtlocation-92d8a8d57c70c05150f4633990d1226abd671809.tar.gz
Fix MapRectangle: Expression depends on non-NOTIFYable properties
Add the missing CONSTANT to the border property. Change-Id: Id70335511716e798247c0dfcb6dd4653e99af2c2 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
-rw-r--r--src/location/declarativemaps/qdeclarativerectanglemapitem_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/location/declarativemaps/qdeclarativerectanglemapitem_p.h b/src/location/declarativemaps/qdeclarativerectanglemapitem_p.h
index 1642d700..c475bf7f 100644
--- a/src/location/declarativemaps/qdeclarativerectanglemapitem_p.h
+++ b/src/location/declarativemaps/qdeclarativerectanglemapitem_p.h
@@ -67,7 +67,7 @@ class Q_LOCATION_PRIVATE_EXPORT QDeclarativeRectangleMapItem: public QDeclarativ
Q_PROPERTY(QGeoCoordinate topLeft READ topLeft WRITE setTopLeft NOTIFY topLeftChanged)
Q_PROPERTY(QGeoCoordinate bottomRight READ bottomRight WRITE setBottomRight NOTIFY bottomRightChanged)
Q_PROPERTY(QColor color READ color WRITE setColor NOTIFY colorChanged)
- Q_PROPERTY(QDeclarativeMapLineProperties *border READ border)
+ Q_PROPERTY(QDeclarativeMapLineProperties *border READ border CONSTANT)
public:
explicit QDeclarativeRectangleMapItem(QQuickItem *parent = 0);