summaryrefslogtreecommitdiff
path: root/src/positioning
diff options
context:
space:
mode:
authorSamuel Gaist <samuel.gaist@idiap.ch>2018-11-09 21:28:23 +0100
committerJani Heikkinen <jani.heikkinen@qt.io>2018-11-10 19:59:09 +0000
commitdc761b9007416b254eba18a300c5d7f91ca1c552 (patch)
tree21445e2e6413c78de10325d40c75f501c95574aa /src/positioning
parentf777e851f5992a3b813e0d0c68f947c2a2f764fa (diff)
downloadqtlocation-dc761b9007416b254eba18a300c5d7f91ca1c552.tar.gz
QGeoPath: revert clear API to clearPathv5.12.0-rc2v5.12.0-rc1v5.12.05.12.0
The original name was correct as clear would need to reset more properties which is was not the goal of this method. Change-Id: Iac43a61e4b8bf57220c88d627b33578612c4ddad Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/positioning')
-rw-r--r--src/positioning/qgeopath.cpp2
-rw-r--r--src/positioning/qgeopath.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/positioning/qgeopath.cpp b/src/positioning/qgeopath.cpp
index beb43692..0c3d0c1c 100644
--- a/src/positioning/qgeopath.cpp
+++ b/src/positioning/qgeopath.cpp
@@ -204,7 +204,7 @@ const QList<QGeoCoordinate> &QGeoPath::path() const
\since 5.12
*/
-void QGeoPath::clear()
+void QGeoPath::clearPath()
{
Q_D(QGeoPath);
d->clearPath();
diff --git a/src/positioning/qgeopath.h b/src/positioning/qgeopath.h
index cda6f277..e4af2add 100644
--- a/src/positioning/qgeopath.h
+++ b/src/positioning/qgeopath.h
@@ -72,7 +72,7 @@ public:
void setPath(const QList<QGeoCoordinate> &path);
const QList<QGeoCoordinate> &path() const;
- void clear();
+ void clearPath();
void setVariantPath(const QVariantList &path);
QVariantList variantPath() const;