mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 11:45:53 +01:00
Code cleanup
This commit is contained in:
parent
0cd6a82a0f
commit
74aebce357
@ -54,11 +54,9 @@ Coordinates GPXParser::coordinates()
|
|||||||
void GPXParser::rpExtension(TrackData *autoRoute)
|
void GPXParser::rpExtension(TrackData *autoRoute)
|
||||||
{
|
{
|
||||||
while (_reader.readNextStartElement()) {
|
while (_reader.readNextStartElement()) {
|
||||||
if (_reader.name() == "rpt") {
|
if (_reader.name() == "rpt")
|
||||||
autoRoute->append(Trackpoint(coordinates()));
|
autoRoute->append(Trackpoint(coordinates()));
|
||||||
trackpointData(autoRoute->last());
|
_reader.skipCurrentElement();
|
||||||
} else
|
|
||||||
_reader.skipCurrentElement();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user