From bd7196d93e7901333dc408560d462034e9d9a0ea Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Thu, 23 May 2019 20:30:10 +0200 Subject: [PATCH] Cleanup: unify comments in desktop-widgets/command.h Signed-off-by: Berthold Stoeger --- desktop-widgets/command.cpp | 1 + desktop-widgets/command.h | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/desktop-widgets/command.cpp b/desktop-widgets/command.cpp index 4bbd5e059..35010b3c3 100644 --- a/desktop-widgets/command.cpp +++ b/desktop-widgets/command.cpp @@ -234,6 +234,7 @@ void pasteDives(const dive *d, dive_components what) execute(new PasteDives(d, what)); } +// Trip editing related commands void editTripLocation(dive_trip *trip, const QString &s) { execute(new EditTripLocation(trip, s)); diff --git a/desktop-widgets/command.h b/desktop-widgets/command.h index 6fbd6bab5..fec5d76a9 100644 --- a/desktop-widgets/command.h +++ b/desktop-widgets/command.h @@ -10,6 +10,7 @@ namespace Command { // 1) General commands + void init(); // Setup signals to inform frontend of clean status. void clear(); // Reset the undo stack. Delete all commands. void setClean(); // Call after save - this marks a state where no changes need to be saved. @@ -73,7 +74,8 @@ int editBuddies(const QStringList &newList, bool currentDiveOnly); int editDiveMaster(const QStringList &newList, bool currentDiveOnly); void pasteDives(const dive *d, dive_components what); -// 4) Trip editing commands +// 5) Trip editing commands + void editTripLocation(dive_trip *trip, const QString &s); void editTripNotes(dive_trip *trip, const QString &s);