summaryrefslogtreecommitdiffstats
path: root/qt-mobile/qmlmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-mobile/qmlmanager.cpp')
-rw-r--r--qt-mobile/qmlmanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-mobile/qmlmanager.cpp b/qt-mobile/qmlmanager.cpp
index 3a62fb342..cdf844492 100644
--- a/qt-mobile/qmlmanager.cpp
+++ b/qt-mobile/qmlmanager.cpp
@@ -336,10 +336,10 @@ void QMLManager::saveChanges()
mark_divelist_changed(false);
}
-void QMLManager::addDive()
+QString QMLManager::addDive()
{
appendTextToLog("Adding new dive.");
- DiveListModel::instance()->startAddDive();
+ return DiveListModel::instance()->startAddDive();
}
void QMLManager::applyGpsData()