diff options
Diffstat (limited to 'desktop-widgets/command.cpp')
-rw-r--r-- | desktop-widgets/command.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/desktop-widgets/command.cpp b/desktop-widgets/command.cpp index fc7478f94..7336a5b62 100644 --- a/desktop-widgets/command.cpp +++ b/desktop-widgets/command.cpp @@ -3,6 +3,7 @@ #include "command.h" #include "command_divelist.h" #include "command_divesite.h" +#include "command_edit.h" namespace Command { @@ -128,4 +129,10 @@ void purgeUnusedDiveSites() execute(new PurgeUnusedDiveSites); } +// Dive editing related commands +void editNotes(const QVector<dive *> dives, const QString &newValue, const QString &oldValue) +{ + execute(new EditNotes(dives, newValue, oldValue)); +} + } // namespace Command |