diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-01-19 23:44:44 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-01-20 22:15:58 +1200 |
commit | 0f87a7073be4ec35bcfe78f67084ea6983c95b32 (patch) | |
tree | 923f36144e6148658ddc2c4e0c4136df7121c3b5 /desktop-widgets/downloadfromdivecomputer.cpp | |
parent | 8fa156eb0d2364f9dc17ac80805408f62343799d (diff) | |
download | subsurface-0f87a7073be4ec35bcfe78f67084ea6983c95b32.tar.gz |
Import: fix erroneous flag
In 891fcbf520f28ef6016d6171eba83c6773efca00 boolean parameters were
replaced by flags. Fix an error in this commit: IMPORT_IS_DOWNLOADED
should be IMPORT_PREFER_IMPORTED.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/downloadfromdivecomputer.cpp')
-rw-r--r-- | desktop-widgets/downloadfromdivecomputer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/downloadfromdivecomputer.cpp b/desktop-widgets/downloadfromdivecomputer.cpp index 2bad04d1c..cb820c78b 100644 --- a/desktop-widgets/downloadfromdivecomputer.cpp +++ b/desktop-widgets/downloadfromdivecomputer.cpp @@ -518,7 +518,7 @@ void DownloadFromDCWidget::on_ok_clicked() auto data = thread.data(); int flags = IMPORT_IS_DOWNLOADED; if (preferDownloaded()) - flags |= IMPORT_IS_DOWNLOADED; + flags |= IMPORT_PREFER_IMPORTED; if (ui.createNewTrip->isChecked()) flags |= IMPORT_ADD_TO_NEW_TRIP; Command::importDives(table, nullptr, flags, data->devName()); |