diff options
Diffstat (limited to 'mobile-widgets/qmlmanager.cpp')
-rw-r--r-- | mobile-widgets/qmlmanager.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp index 57cacba74..d28fa11ae 100644 --- a/mobile-widgets/qmlmanager.cpp +++ b/mobile-widgets/qmlmanager.cpp @@ -276,6 +276,7 @@ void QMLManager::openLocalThenRemote(QString url) buddyModel.updateModel(); emit buddyListChanged(); suitModel.updateModel(); emit suitListChanged(); divemasterModel.updateModel(); emit divemasterListChanged(); + locationModel.update(); emit locationListChanged(); } void QMLManager::mergeLocalRepo() @@ -1567,6 +1568,11 @@ QStringList QMLManager::divemasterList() const return divemasterModel.stringList(); } +QStringList QMLManager::locationList() const +{ + return locationModel.allSiteNames(); +} + QStringList QMLManager::cylinderInit() const { QStringList cylinders; |