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 c178c408a..a901d9e48 100644 --- a/desktop-widgets/command.cpp +++ b/desktop-widgets/command.cpp @@ -165,4 +165,14 @@ void editWaterTemp(const QVector<dive *> dives, int newValue, int oldValue) execute(new EditWaterTemp(dives, newValue, oldValue)); } +void editDiveSite(const QVector<dive *> dives, struct dive_site *newValue, struct dive_site *oldValue) +{ + execute(new EditDiveSite(dives, newValue, oldValue)); +} + +void editDiveSiteNew(const QVector<dive *> dives, const QString &newName, struct dive_site *oldValue) +{ + execute(new EditDiveSiteNew(dives, newName, oldValue)); +} + } // namespace Command |