mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
Support for WKO v3 file format
Summary analysis suggests the new (v29) of the WKO 3.0 file format does not contain any differences (or noticeable) to the previous version. This patch enables files to be imported using the existing code instead of being rejected because they are 'newer than the supported format'. Further testing and analysis will be performed on the WKO 3.0 file formats but this patch should enable users of v3 to import there files into GC.
This commit is contained in:
committed by
Sean Rhea
parent
e93970ed4d
commit
0d96ba220d
@@ -100,7 +100,7 @@ RideFile *WkoFileReader::openRideFile(QFile &file, QStringList &errors) const
|
||||
errors << ("Version of file is too old, open and save in WKO then retry: \""
|
||||
+ file.fileName() + "\"");
|
||||
return NULL;
|
||||
} else if (version >28) {
|
||||
} else if (version >29) {
|
||||
errors << ("Version of file is new and not supported yet: \"" +
|
||||
file.fileName() + "\"");
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user