Add support for 3dp comutrainer files in the cp plot

This commit is contained in:
Jamie Kimberley
2009-10-28 19:40:25 -04:00
committed by Sean Rhea
parent 5a25dcb56a
commit 7d2cf8d305

View File

@@ -69,7 +69,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|wko|qla)$");
"_([0-9][0-9])_([0-9][0-9])_([0-9][0-9])\\.(raw|srm|csv|tcx|hrm|wko|qla|3dp)$");
return (re.exactMatch(filename));
}