diff options
Diffstat (limited to 'desktop-widgets/command.cpp')
-rw-r--r-- | desktop-widgets/command.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/desktop-widgets/command.cpp b/desktop-widgets/command.cpp index bb37eb816..2f73477fe 100644 --- a/desktop-widgets/command.cpp +++ b/desktop-widgets/command.cpp @@ -165,6 +165,16 @@ void editWaterTemp(const QVector<dive *> dives, int newValue, int oldValue) execute(new EditWaterTemp(dives, newValue, oldValue)); } +void editDepth(const QVector<dive *> dives, int newValue, int oldValue) +{ + execute(new EditDepth(dives, newValue, oldValue)); +} + +void editDuration(const QVector<dive *> dives, int newValue, int oldValue) +{ + execute(new EditDuration(dives, newValue, oldValue)); +} + void editDiveSite(const QVector<dive *> dives, struct dive_site *newValue, struct dive_site *oldValue) { execute(new EditDiveSite(dives, newValue, oldValue)); |