From 0bc96905bf92de5e7bac88efde181d93d95998f1 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sun, 19 May 2019 14:27:10 +0200 Subject: Undo: make "delete dive computer" undoable Simply reuse the code for "move dive computer" by creating a DiveComputerBase base class. 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 543e3bcae..497c59a9a 100644 --- a/desktop-widgets/command.h +++ b/desktop-widgets/command.h @@ -37,6 +37,7 @@ void mergeTrips(dive_trip *trip1, dive_trip *trip2); void splitDives(dive *d, duration_t time); void splitDiveComputer(dive *d, int dc_num); void moveDiveComputerToFront(dive *d, int dc_num); +void deleteDiveComputer(dive *d, int dc_num); void mergeDives(const QVector &dives); // 3) Dive-site related commands -- cgit v1.2.3-70-g09d2