aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets/command.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/command.cpp')
-rw-r--r--desktop-widgets/command.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/desktop-widgets/command.cpp b/desktop-widgets/command.cpp
index 2e2982860..80a233404 100644
--- a/desktop-widgets/command.cpp
+++ b/desktop-widgets/command.cpp
@@ -2,6 +2,7 @@
#include "command.h"
#include "command_divelist.h"
+#include "command_divesite.h"
namespace Command {
@@ -76,4 +77,10 @@ void mergeDives(const QVector <dive *> &dives)
execute(new MergeDives(dives));
}
+// Dive site related commands
+void deleteDiveSites(const QVector <dive_site *> &sites)
+{
+ execute(new DeleteDiveSites(sites));
+}
+
} // namespace Command