Cleanup: unify comments in desktop-widgets/command.h

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2019-05-23 20:30:10 +02:00 committed by Dirk Hohndel
parent 03d5e641e1
commit bd7196d93e
2 changed files with 4 additions and 1 deletions

View file

@ -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));

View file

@ -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);