diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-03-19 10:00:04 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2018-03-19 09:57:44 +0000 |
commit | d3fbfd5ee7f88b9daace41b3932eb83943e9ed2a (patch) | |
tree | 40b975d2ada10d2bb2f2154b06327b2acd56a314 | |
parent | 93e6bb502dca39ccaea7f86bea05ca8040e874e2 (diff) | |
download | qtlocation-d3fbfd5ee7f88b9daace41b3932eb83943e9ed2a.tar.gz |
QDeclarativeGeoWaypoint: Declare QQmlParserStatus interface
Fix warning:
declarativemaps\qdeclarativegeoroutemodel_p.h(270): Warning: Class QDeclarativeGeoWaypoint implements the interface QQmlParserStatus but does not list it in Q_INTERFACES. qobject_cast to QQmlParserStatus will not work!
Change-Id: I3e9d8e6a68a5bb644a9d6ded8982daffaf985c53
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
-rw-r--r-- | src/location/declarativemaps/qdeclarativegeoroutemodel_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/location/declarativemaps/qdeclarativegeoroutemodel_p.h b/src/location/declarativemaps/qdeclarativegeoroutemodel_p.h index b8c2e84d..64c1ebf8 100644 --- a/src/location/declarativemaps/qdeclarativegeoroutemodel_p.h +++ b/src/location/declarativemaps/qdeclarativegeoroutemodel_p.h @@ -203,6 +203,7 @@ class Q_LOCATION_PRIVATE_EXPORT QDeclarativeGeoWaypoint : public QGeoCoordinateO Q_PROPERTY(QVariantMap metadata READ metadata) Q_PROPERTY(QQmlListProperty<QObject> quickChildren READ declarativeChildren DESIGNABLE false) Q_CLASSINFO("DefaultProperty", "quickChildren") + Q_INTERFACES(QQmlParserStatus) public: QDeclarativeGeoWaypoint(QObject *parent = 0); |