summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/command.h
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/command.h')
-rw-r--r--desktop-widgets/command.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/desktop-widgets/command.h b/desktop-widgets/command.h
index 627e5360d..82cb06f31 100644
--- a/desktop-widgets/command.h
+++ b/desktop-widgets/command.h
@@ -20,9 +20,7 @@ QAction *redoAction(QObject *parent); // Create an redo action.
// distance are added to a trip. dive d is consumed (the structure is reset)!
// If newNumber is true, the dive is assigned a new number, depending on the
// insertion position.
-// Id newDS is not empty, a dive site with that name will be created. d->dive_site
-// should be null in this case.
-void addDive(dive *d, const QString &newDS, bool autogroup, bool newNumber);
+void addDive(dive *d, const bool autogroup, bool newNumber);
void importDives(struct dive_table *dives, struct trip_table *trips, struct dive_site_table *sites, int flags, const QString &source);
void deleteDive(const QVector<struct dive*> &divesToDelete);
void shiftTime(const QVector<dive *> &changedDives, int amount);