mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
Strava : Correct Manual distance
This commit is contained in:
@@ -619,7 +619,7 @@ Strava::prepareResponse(QByteArray* data)
|
||||
if (each["manual"].toBool()) {
|
||||
if (each["distance"].toDouble()>0) {
|
||||
QMap<QString,QString> map;
|
||||
map.insert("value", QString("%1").arg(each["distance"].toDouble()));
|
||||
map.insert("value", QString("%1").arg(each["distance"].toDouble()/1000.0));
|
||||
ride->metricOverrides.insert("total_distance", map);
|
||||
}
|
||||
if (each["moving_time"].toDouble()>0) {
|
||||
|
||||
Reference in New Issue
Block a user