1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-06-27 11:39:16 +02:00

Fixed the "DEM values not used in route points" issue

This commit is contained in:
2019-08-29 20:15:03 +02:00
parent 37e07accd4
commit f9c593e6d1
7 changed files with 33 additions and 45 deletions

View File

@ -24,7 +24,7 @@ QString RouteItem::toolTip(Units units) const
RouteItem::RouteItem(const Route &route, Map *map, QGraphicsItem *parent)
: PathItem(route.path(), map, parent)
{
const QVector<Waypoint> &waypoints = route.waypoints();
const RouteData &waypoints = route.data();
_waypoints.resize(waypoints.size());
for (int i = 0; i < waypoints.size(); i++)