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:
Mark Liversedge
2009-12-21 15:51:40 +00:00
committed by Sean Rhea
parent e93970ed4d
commit 0d96ba220d

View File

@@ -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;