mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 00:28:42 +00:00
let the factory call fillInIntervals
This commit is contained in:
@@ -153,7 +153,10 @@ RideFile *RideFileFactory::openRideFile(QFile &file,
|
||||
suffix.remove(0, dot + 1);
|
||||
RideFileReader *reader = readFuncs_.value(suffix.toLower());
|
||||
assert(reader);
|
||||
return reader->openRideFile(file, errors);
|
||||
RideFile *result = reader->openRideFile(file, errors);
|
||||
if (result)
|
||||
result->fillInIntervals();
|
||||
return result;
|
||||
}
|
||||
|
||||
QStringList RideFileFactory::listRideFiles(const QDir &dir) const
|
||||
|
||||
Reference in New Issue
Block a user