summaryrefslogtreecommitdiffstats
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 d70ca12fe..6ce7f18bd 100644
--- a/commands/command.cpp
+++ b/commands/command.cpp
@@ -18,9 +18,10 @@ void addDive(dive *d, bool autogroup, bool newNumber)
}
void importDives(struct dive_table *dives, struct trip_table *trips, struct dive_site_table *sites,
- struct filter_preset_table *presets, int flags, const QString &source)
+ struct device_table *devices, struct filter_preset_table *presets,
+ int flags, const QString &source)
{
- execute(new ImportDives(dives, trips, sites, presets, flags, source));
+ execute(new ImportDives(dives, trips, sites, devices, presets, flags, source));
}
void deleteDive(const QVector<struct dive*> &divesToDelete)