mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 16:39:57 +00:00
SrmDevice: fix rideList population
oops, overwrote the startTime, accidently. Wondering how this passed any testing as this resulted in all blocks being skipped. Added explicit initialization of wanted field, aswell.
This commit is contained in:
@@ -282,8 +282,9 @@ SrmDevice::preview( QString &err )
|
||||
if( block.start )
|
||||
ride->startTime.setTime_t( 0.1 * block.start );
|
||||
if( block.end )
|
||||
ride->startTime.setTime_t( 0.1 * block.end );
|
||||
ride->endTime.setTime_t( 0.1 * block.end );
|
||||
ride->work = block.total;
|
||||
ride->wanted = false;
|
||||
rideList.append( ride );
|
||||
|
||||
if( block.athlete )
|
||||
|
||||
Reference in New Issue
Block a user