mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-15 08:59:55 +00:00
Add RideItem ::color, ::isRun and ::present
.. as primary fields, and also load/save to cache.
This commit is contained in:
@@ -282,6 +282,9 @@ void RideCache::save()
|
||||
stream << "\t\t\"crc\":\"" <<item->crc <<"\",\n";
|
||||
stream << "\t\t\"timestamp\":\"" <<item->timestamp <<"\",\n";
|
||||
stream << "\t\t\"dbversion\":\"" <<item->dbversion <<"\",\n";
|
||||
stream << "\t\t\"color\":\"" <<item->color.name() <<"\",\n";
|
||||
stream << "\t\t\"present\":\"" <<item->present <<"\",\n";
|
||||
stream << "\t\t\"isRun\":\"" <<item->isRun <<"\",\n";
|
||||
stream << "\t\t\"weight\":\"" <<item->weight <<"\",\n";
|
||||
|
||||
// pre-computed metrics
|
||||
|
||||
Reference in New Issue
Block a user