diff options
author | RALOVICH, Kristof <tade60@freemail.hu> | 2013-10-08 11:36:52 +0200 |
---|---|---|
committer | RALOVICH, Kristof <tade60@freemail.hu> | 2013-10-08 11:36:52 +0200 |
commit | d01872026defe7fc1c5201179cd950fd718ddc88 (patch) | |
tree | a681d7fecbd3bab7ffd42939c22a6a167934cab6 /src | |
parent | 05383ee9e2bf51f902d35ce5ddae6635a17393f1 (diff) |
bugfix: save config.ini after downloads are done
Otherwise the updated LastTransferredTime will never be persisted, and next time all files are downloaded again.
Diffstat (limited to 'src')
-rw-r--r-- | src/AntFr310XT.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/AntFr310XT.cpp b/src/AntFr310XT.cpp index 2650717..3ca78be 100644 --- a/src/AntFr310XT.cpp +++ b/src/AntFr310XT.cpp @@ -572,6 +572,7 @@ AntFr310XT2::handleEvents() gpx.writeToFile(gpxFile); m_ds->mergeLastTransferredTime(time(NULL)); + m_ds->saveToFile(m_ds->getConfigFileName()); changeStateSafe(ST_ANTFS_LAST); } |