summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Angelelli <paolo.angelelli@qt.io>2018-09-04 17:51:34 +0200
committerPaolo Angelelli <paolo.angelelli@qt.io>2018-09-05 10:46:00 +0000
commit299b22f70fb2ae89171d456b062c4f2dd3e9339d (patch)
tree8563f8bfeb75d936858dc1ee3d30d5bf1d3a6449
parent5a33ef5ef4b82714dc6b41eb8badc23be4a42fdf (diff)
downloadqtlocation-299b22f70fb2ae89171d456b062c4f2dd3e9339d.tar.gz
Fix QGeoRouteSegment documentation
Up till now QGeoManeuvers inside QGeoRouteSegments were generated as starting maneuvers, that is, related to the beginning of the segment. But they were documented as being related to the end of the segment. This patch fixes the documentation. Change-Id: Ia08ed2bd597b4f63e6b8a7b3518755d895446a92 Reviewed-by: Alex Blasche <alexander.blasche@qt.io> Reviewed-by: Christopher Adams <chris.adams@jollamobile.com>
-rw-r--r--src/location/maps/qgeoroutesegment.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/location/maps/qgeoroutesegment.cpp b/src/location/maps/qgeoroutesegment.cpp
index b02285bc..aff54fc7 100644
--- a/src/location/maps/qgeoroutesegment.cpp
+++ b/src/location/maps/qgeoroutesegment.cpp
@@ -59,7 +59,7 @@ QGeoRouteSegmentPrivate *QExplicitlySharedDataPointer<QGeoRouteSegmentPrivate>::
A QGeoRouteSegment instance has information about the physical layout
of the route segment, the length of the route and estimated time required
to traverse the route segment and an optional QGeoManeuver associated with
- the end of the route segment.
+ the beginning of the route segment.
QGeoRouteSegment instances can be thought of as edges on a routing
graph, with QGeoManeuver instances as optional labels attached to the
@@ -257,7 +257,7 @@ void QGeoRouteSegment::setManeuver(const QGeoManeuver &maneuver)
Returns the maneuver for this route segment.
Will return an invalid QGeoManeuver if no information has been attached
- to the endpoint of this route segment.
+ to the starting point of this route segment.
*/
QGeoManeuver QGeoRouteSegment::maneuver() const
{