RideFile::isRun() -- only use the "Run" tag to clasify a file as running

For multi-sport files, the bike section might record vertical oscillation or
ground contact time from the HRM-RUN sensor when moving in and out of
transition.
This commit is contained in:
Alex Harsanyi
2015-06-08 22:05:46 +08:00
parent 7fdedf0bfe
commit f73686b4ff

View File

@@ -148,8 +148,7 @@ RideFile::isRun() const
{
// for now we just look at Sport and if there are any
// running specific data series in the data
return (getTag("Sport", "") == "Run" || getTag("Sport", "") == tr("Run")) ||
(areDataPresent()->rvert || areDataPresent()->rcad || areDataPresent()->rcontact);
return (getTag("Sport", "") == "Run" || getTag("Sport", "") == tr("Run"));
}
bool