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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop-widgets/command.cpp b/desktop-widgets/command.cpp
index 55fbeded9..ccfcbc524 100644
--- a/desktop-widgets/command.cpp
+++ b/desktop-widgets/command.cpp
@@ -9,9 +9,9 @@
namespace Command {
// Dive-list related commands
-void addDive(dive *d, const QString &newDS, bool autogroup, bool newNumber)
+void addDive(dive *d, bool autogroup, bool newNumber)
{
- execute(new AddDive(d, newDS, autogroup, 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)