aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qmlmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mobile-widgets/qmlmanager.cpp')
-rw-r--r--mobile-widgets/qmlmanager.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp
index bc99088ee..4b3286911 100644
--- a/mobile-widgets/qmlmanager.cpp
+++ b/mobile-widgets/qmlmanager.cpp
@@ -412,19 +412,13 @@ void QMLManager::selectSwipeRow(int row)
select_single_dive(d);
}
-void QMLManager::updateSiteList()
-{
- LocationInformationModel::instance()->update();
- emit locationListChanged();
-}
-
void QMLManager::updateAllGlobalLists()
{
buddyModel.updateModel(); emit buddyListChanged();
suitModel.updateModel(); emit suitListChanged();
divemasterModel.updateModel(); emit divemasterListChanged();
- // TODO: Probably not needed anymore, as the dive site list is generated on the fly!
- updateSiteList();
+ // TODO: It would be nice if we could export the list of locations via model/view instead of a Q_PROPERTY
+ emit locationListChanged();
}
static QString nocloud_localstorage()