summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/command.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/command.cpp')
-rw-r--r--desktop-widgets/command.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/desktop-widgets/command.cpp b/desktop-widgets/command.cpp
index 7f18b343c..37c53235d 100644
--- a/desktop-widgets/command.cpp
+++ b/desktop-widgets/command.cpp
@@ -145,4 +145,14 @@ void editSuit(const QVector<dive *> dives, const QString &newValue, const QStrin
execute(new EditSuit(dives, newValue, oldValue));
}
+void editRating(const QVector<dive *> dives, int newValue, int oldValue)
+{
+ execute(new EditRating(dives, newValue, oldValue));
+}
+
+void editVisibility(const QVector<dive *> dives, int newValue, int oldValue)
+{
+ execute(new EditVisibility(dives, newValue, oldValue));
+}
+
} // namespace Command