mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Import: Add option to sync time on dive computer download
Add an option for users to sync the dive computer time with the PC time every time dives are downloaded. Obviously this will only work on dive computers that have time synchronisation support in libdivecomputer, for other computers a notice is logged. The selection for this option is persisted as a preference. Signed-off-by: Michael Keller <github@ike.ch>
This commit is contained in:
parent
cb410fe1ba
commit
a38ea971a0
18 changed files with 130 additions and 1 deletions
|
@ -29,6 +29,7 @@ void cliDownloader(const char *vendor, const char *product, const char *device)
|
|||
data->setForceDownload(false);
|
||||
data->setSaveLog(true);
|
||||
data->setSaveDump(false);
|
||||
data->setSyncTime(false);
|
||||
|
||||
diveImportedModel.startDownload();
|
||||
diveImportedModel.waitForDownload();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue