summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Angelelli <paolo.angelelli@qt.io>2018-06-06 11:41:03 +0200
committerPaolo Angelelli <paolo.angelelli@qt.io>2018-06-08 09:22:30 +0000
commit71bc98bf309ce433afb80344a7356e13b310c5c5 (patch)
treeee1df57a743212580b0ea0375c790d7bfe8c7102
parent7e81408cfe615e0cf5fdd7f258749131c9cad2c3 (diff)
downloadqtlocation-71bc98bf309ce433afb80344a7356e13b310c5c5.tar.gz
Fix condition in QGeoRoute::operator==
Closing parenthesis was in the wrong place. Change-Id: I41acade226f46ba830b3f44fe310d87f5d9bdd7c Reviewed-by: Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> Reviewed-by: Bruno de Oliveira Abinader <brunoabinader@gmail.com> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
-rw-r--r--src/location/maps/qgeoroute.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/location/maps/qgeoroute.cpp b/src/location/maps/qgeoroute.cpp
index 979c1667..8d62dceb 100644
--- a/src/location/maps/qgeoroute.cpp
+++ b/src/location/maps/qgeoroute.cpp
@@ -340,8 +340,8 @@ bool QGeoRoutePrivate::equals(const QGeoRoutePrivate &other) const
&& (travelTime() == other.travelTime())
&& (distance() == other.distance())
&& (travelMode() == other.travelMode())
- && (path() == other.path()))
- && (metadata() == other.metadata());
+ && (path() == other.path())
+ && (metadata() == other.metadata()));
}
void QGeoRoutePrivate::setId(const QString &id)