mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
Fix assert SEGV on Trimp Points
Introduced by me when using workout_time for duration.
This commit is contained in:
@@ -349,6 +349,7 @@ static bool added() {
|
||||
QVector<QString> deps;
|
||||
deps.append("time_riding");
|
||||
deps.append("average_hr");
|
||||
deps.append("workout_time");
|
||||
RideMetricFactory::instance().addMetric(TRIMPPoints(), &deps);
|
||||
|
||||
deps.clear();
|
||||
|
||||
Reference in New Issue
Block a user