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.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/desktop-widgets/command.cpp b/desktop-widgets/command.cpp
index ccfcbc524..00bb49872 100644
--- a/desktop-widgets/command.cpp
+++ b/desktop-widgets/command.cpp
@@ -120,6 +120,11 @@ void addDiveSite(const QString &name)
execute(new AddDiveSite(name));
}
+void importDiveSites(struct dive_site_table *sites, const QString &source)
+{
+ execute(new ImportDiveSites(sites, source));
+}
+
void mergeDiveSites(dive_site *ds, const QVector<dive_site *> &sites)
{
execute(new MergeDiveSites(ds, sites));