diff options
Diffstat (limited to 'desktop-widgets/command.cpp')
-rw-r--r-- | desktop-widgets/command.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/desktop-widgets/command.cpp b/desktop-widgets/command.cpp index 07c8be61d..55fbeded9 100644 --- a/desktop-widgets/command.cpp +++ b/desktop-widgets/command.cpp @@ -4,6 +4,7 @@ #include "command_divelist.h" #include "command_divesite.h" #include "command_edit.h" +#include "command_edit_trip.h" namespace Command { @@ -205,4 +206,14 @@ void pasteDives(const dive *d, dive_components what) execute(new PasteDives(d, what)); } +void editTripLocation(dive_trip *trip, const QString &s) +{ + execute(new EditTripLocation(trip, s)); +} + +void editTripNotes(dive_trip *trip, const QString &s) +{ + execute(new EditTripNotes(trip, s)); +} + } // namespace Command |