mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
Strava download - Update RPE field if present
Fixes #3444 NB: activity creation doesn't support this paramter, so it is only one way sync for the moment.
This commit is contained in:
@@ -934,6 +934,10 @@ Strava::prepareResponse(QByteArray* data)
|
||||
}
|
||||
}
|
||||
|
||||
if (!each["perceived_exertion"].isNull()) {
|
||||
ride->setTag("RPE", QString("%1").arg(each["perceived_exertion"].toDouble()));
|
||||
}
|
||||
|
||||
if (each["manual"].toBool()) {
|
||||
if (each["distance"].toDouble()>0) {
|
||||
QMap<QString,QString> map;
|
||||
|
||||
Reference in New Issue
Block a user