diff --git a/src/data/gpxparser.cpp b/src/data/gpxparser.cpp index d0f48696..e5da5bf3 100644 --- a/src/data/gpxparser.cpp +++ b/src/data/gpxparser.cpp @@ -76,6 +76,9 @@ void GPXParser::tpExtension(Trackpoint &trackpoint) trackpoint.setHeartRate(number()); else if (_reader.name() == QLatin1String("atemp")) trackpoint.setTemperature(number()); + else if (_reader.name() == QLatin1String("wtemp") + && !trackpoint.hasTemperature()) + trackpoint.setTemperature(number()); else if (_reader.name() == QLatin1String("cad")) trackpoint.setCadence(number()); else if (_reader.name() == QLatin1String("speed"))