Added WKO RideNotes, applied style guide, fixed CP calc, check version of file

This commit is contained in:
Mark Liversedge
2009-08-25 14:20:27 +01:00
committed by Robert Carlsen
parent e281cfb444
commit d2efc75948

View File

@@ -67,7 +67,7 @@ bool
is_ride_filename(const QString filename)
{
QRegExp re("^([0-9][0-9][0-9][0-9])_([0-9][0-9])_([0-9][0-9])"
"_([0-9][0-9])_([0-9][0-9])_([0-9][0-9])\\.(raw|srm|csv|tcx|hrm)$");
"_([0-9][0-9])_([0-9][0-9])_([0-9][0-9])\\.(raw|srm|csv|tcx|hrm|wko)$");
return (re.exactMatch(filename));
}