summaryrefslogtreecommitdiff
path: root/src/imports/positioning/locationsingleton.h
diff options
context:
space:
mode:
authorPaolo Angelelli <paolo.angelelli@qt.io>2018-06-29 11:05:21 +0200
committerPaolo Angelelli <paolo.angelelli@qt.io>2018-07-03 12:40:53 +0000
commitec8152a98b8971af6020dbee5a2885a525a53f88 (patch)
treee93c662aae31d7191e3628ea4f48bd7e07e8f511 /src/imports/positioning/locationsingleton.h
parentf97a875d527f3898040e7cbee77339eece21c035 (diff)
downloadqtlocation-ec8152a98b8971af6020dbee5a2885a525a53f88.tar.gz
Fix return type of LocationSingleton::polygon
Previously returning QGeoPath Change-Id: Id4de95918038d5efeefbd44034265f3a3a34d9fa Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/imports/positioning/locationsingleton.h')
-rw-r--r--src/imports/positioning/locationsingleton.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imports/positioning/locationsingleton.h b/src/imports/positioning/locationsingleton.h
index 6a560fa8..56d35b70 100644
--- a/src/imports/positioning/locationsingleton.h
+++ b/src/imports/positioning/locationsingleton.h
@@ -77,8 +77,8 @@ public:
Q_INVOKABLE QGeoPath path() const;
Q_INVOKABLE QGeoPath path(const QJSValue &value, qreal width = 0.0) const;
- Q_INVOKABLE QGeoPath polygon() const;
- Q_INVOKABLE QGeoPath polygon(const QVariantList &value) const;
+ Q_INVOKABLE QGeoPolygon polygon() const;
+ Q_INVOKABLE QGeoPolygon polygon(const QVariantList &value) const;
Q_INVOKABLE QGeoCircle shapeToCircle(const QGeoShape &shape) const;
Q_INVOKABLE QGeoRectangle shapeToRectangle(const QGeoShape &shape) const;