mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-01-31 17:15:14 +01:00
Added missing Garmin GPX power extension
This commit is contained in:
parent
a928cc4ccb
commit
adc09da815
@ -144,7 +144,8 @@ void GPXParser::trkptExtensions(Trackpoint &trackpoint)
|
|||||||
trackpoint.setTemperature(number());
|
trackpoint.setTemperature(number());
|
||||||
else if (_reader.name() == QLatin1String("cadence"))
|
else if (_reader.name() == QLatin1String("cadence"))
|
||||||
trackpoint.setCadence(number());
|
trackpoint.setCadence(number());
|
||||||
else if (_reader.name() == QLatin1String("power"))
|
else if (_reader.name() == QLatin1String("power")
|
||||||
|
|| _reader.name() == QLatin1String("PowerInWatts"))
|
||||||
trackpoint.setPower(number());
|
trackpoint.setPower(number());
|
||||||
else if (_reader.name() == QLatin1String("TrackPointExtension"))
|
else if (_reader.name() == QLatin1String("TrackPointExtension"))
|
||||||
tpExtension(trackpoint);
|
tpExtension(trackpoint);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user