From 10d4ba82a21e3648082ddd9bae5010881d71418a Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sun, 22 Sep 2019 19:42:30 +0200 Subject: Documentation: add comment to Command::importDives Add a comment that the passed-in dives are consumed. Signed-off-by: Berthold Stoeger --- desktop-widgets/command.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/desktop-widgets/command.h b/desktop-widgets/command.h index fa4ce2a45..15218383c 100644 --- a/desktop-widgets/command.h +++ b/desktop-widgets/command.h @@ -25,7 +25,8 @@ QAction *redoAction(QObject *parent); // Create an redo action. // If newNumber is true, the dive is assigned a new number, depending on the // insertion position. 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 importDives(struct dive_table *dives, struct trip_table *trips, + struct dive_site_table *sites, int flags, const QString &source); // The tables are consumed! void deleteDive(const QVector &divesToDelete); void shiftTime(const QVector &changedDives, int amount); void renumberDives(const QVector> &divesToRenumber); -- cgit v1.2.3-70-g09d2