mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 08:38:45 +00:00
Support Garmin Training Center Export Files
GTC will export all rides as a single TCX file so they can be imported en-masse into another application. We did not support >1 rides in a single ride file. This patch adds support for reading multiple rides (if the ride file reader supports it). The ride import wizard will now extract and parse files from a GTC export. Many thanks to Damien for writing the TCX file writer. Fixes #371.
This commit is contained in:
@@ -248,7 +248,7 @@ struct SyncFileReaderState
|
||||
};
|
||||
|
||||
|
||||
RideFile *SyncFileReader::openRideFile(QFile &file, QStringList &errors) const
|
||||
RideFile *SyncFileReader::openRideFile(QFile &file, QStringList &errors, QList<RideFile*>*) const
|
||||
{
|
||||
QSharedPointer<SyncFileReaderState> state(new SyncFileReaderState(file, errors));
|
||||
return state->run();
|
||||
|
||||
Reference in New Issue
Block a user