From 59239cec02aedda8c2651a04c65c580a9ff190a9 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Fri, 15 Mar 2019 17:41:31 +0100 Subject: Undo: make dive site merging undoable This one was rather trivial, as there is no actual merging done. Quite simply, a number of dive sites are removed and their dive added to a different dive site. Signed-off-by: Berthold Stoeger --- desktop-widgets/command.h | 1 + 1 file changed, 1 insertion(+) (limited to 'desktop-widgets/command.h') diff --git a/desktop-widgets/command.h b/desktop-widgets/command.h index d1a8326ea..1bcc69089 100644 --- a/desktop-widgets/command.h +++ b/desktop-widgets/command.h @@ -48,6 +48,7 @@ void editDiveSiteCountry(dive_site *ds, const QString &value); void editDiveSiteLocation(dive_site *ds, location_t value); void editDiveSiteTaxonomy(dive_site *ds, taxonomy_data &value); // value is consumed (i.e. will be erased after call)! void addDiveSite(const QString &name); +void mergeDiveSites(dive_site *ds, const QVector &sites); } // namespace Command -- cgit v1.2.3-70-g09d2