summaryrefslogtreecommitdiffstats
path: root/qt-models/diveimportedmodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-models/diveimportedmodel.cpp')
-rw-r--r--qt-models/diveimportedmodel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-models/diveimportedmodel.cpp b/qt-models/diveimportedmodel.cpp
index 59fe9b12b..2001f031e 100644
--- a/qt-models/diveimportedmodel.cpp
+++ b/qt-models/diveimportedmodel.cpp
@@ -157,8 +157,8 @@ void DiveImportedModel::recordDives()
delete_dive_from_table(diveTable, j);
}
- // TODO: Might want to let the user select "add_to_new_trip"
- add_imported_dives(diveTable, nullptr, true, true, false, false);
+ // TODO: Might want to let the user select IMPORT_ADD_TO_NEW_TRIP
+ add_imported_dives(diveTable, nullptr, IMPORT_PREFER_IMPORTED | IMPORT_IS_DOWNLOADED);
}
QHash<int, QByteArray> DiveImportedModel::roleNames() const {