1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-28 05:34:47 +01:00

Code cleanup

This commit is contained in:
Martin Tůma 2018-05-16 22:01:21 +02:00
parent 0cd6a82a0f
commit 74aebce357

View File

@ -54,11 +54,9 @@ Coordinates GPXParser::coordinates()
void GPXParser::rpExtension(TrackData *autoRoute)
{
while (_reader.readNextStartElement()) {
if (_reader.name() == "rpt") {
if (_reader.name() == "rpt")
autoRoute->append(Trackpoint(coordinates()));
trackpointData(autoRoute->last());
} else
_reader.skipCurrentElement();
_reader.skipCurrentElement();
}
}