Documentation: add comment to Command::importDives

Add a comment that the passed-in dives are consumed.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2019-09-22 19:42:30 +02:00 committed by Dirk Hohndel
parent a24b1a4027
commit 10d4ba82a2

View file

@ -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<struct dive*> &divesToDelete);
void shiftTime(const QVector<dive *> &changedDives, int amount);
void renumberDives(const QVector<QPair<dive *, int>> &divesToRenumber);