mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-15 08:59:55 +00:00
bug fix: no altitude in srm files
This bug was introduced in 5c0bdd89, which added an alt member to
SrmDataPoint without initializing it.
This commit is contained in:
@@ -37,7 +37,7 @@ RideFile *SrmFileReader::openRideFile(QFile &file, QStringList &errors) const
|
||||
SrmDataPoint *p = i.next();
|
||||
double nm = p->watts / 2.0 / PI / p->cad * 60.0;
|
||||
rideFile->appendPoint(p->secs, p->cad, p->hr, p->km,
|
||||
p->kph, nm, p->watts, p->alt, p->interval);
|
||||
p->kph, nm, p->watts, 0.0, p->interval);
|
||||
}
|
||||
return rideFile;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user