1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-27 21:24:47 +01:00

Added support for TCX course points icons

This commit is contained in:
Martin Tůma 2024-04-28 00:43:02 +02:00
parent 7de180d580
commit 15fbd6d35e

View File

@ -123,6 +123,8 @@ void TCXParser::waypointData(Waypoint &waypoint)
waypoint.setElevation(number()); waypoint.setElevation(number());
else if (_reader.name() == QLatin1String("Time")) else if (_reader.name() == QLatin1String("Time"))
waypoint.setTimestamp(time()); waypoint.setTimestamp(time());
else if (_reader.name() == QLatin1String("PointType"))
waypoint.setSymbol(_reader.readElementText());
else else
_reader.skipCurrentElement(); _reader.skipCurrentElement();
} }