aboutsummaryrefslogtreecommitdiffstats
path: root/commands/command.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'commands/command.cpp')
-rw-r--r--commands/command.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/commands/command.cpp b/commands/command.cpp
index f04d5cc7a..eaf84bab3 100644
--- a/commands/command.cpp
+++ b/commands/command.cpp
@@ -17,9 +17,10 @@ void addDive(dive *d, bool autogroup, bool newNumber)
execute(new AddDive(d, autogroup, newNumber));
}
-void importDives(struct dive_table *dives, struct trip_table *trips, struct dive_site_table *sites, int flags, const QString &source)
+void importDives(struct dive_table *dives, struct trip_table *trips, struct dive_site_table *sites,
+ filter_preset_table_t *presets, int flags, const QString &source)
{
- execute(new ImportDives(dives, trips, sites, flags, source));
+ execute(new ImportDives(dives, trips, sites, presets, flags, source));
}
void deleteDive(const QVector<struct dive*> &divesToDelete)