summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/command.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/command.cpp')
-rw-r--r--desktop-widgets/command.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/desktop-widgets/command.cpp b/desktop-widgets/command.cpp
index 2bff1aad0..1fc6fbe1c 100644
--- a/desktop-widgets/command.cpp
+++ b/desktop-widgets/command.cpp
@@ -11,6 +11,13 @@ void addDive(dive *d, bool autogroup, bool newNumber)
execute(new AddDive(d, autogroup, newNumber));
}
+void importDives(struct dive_table *dives, struct trip_table *trips,
+ bool prefer_imported, bool downloaded, bool merge_all_trips,
+ const QString &source)
+{
+ execute(new ImportDives(dives, trips, prefer_imported, downloaded, merge_all_trips, source));
+}
+
void deleteDive(const QVector<struct dive*> &divesToDelete)
{
execute(new DeleteDive(divesToDelete));