summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qmlmanager.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-03-26 14:27:14 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-03-26 14:27:14 -0700
commit302404dac04be24191115469890bfa9d5e6a9e83 (patch)
tree7cfe4380c8fae4c0dedf4efbf3c3b9b6fcacf81f /mobile-widgets/qmlmanager.cpp
parent59bc5bb368b0f8dcd088bfefd49552169f63299f (diff)
downloadsubsurface-302404dac04be24191115469890bfa9d5e6a9e83.tar.gz
iOS: ensure changes are saved locally
This was disabled in the past because it was deemed to slow. A lot of time has passed, since. Maybe on current phones / iPads this is acceptable again? Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qmlmanager.cpp')
-rw-r--r--mobile-widgets/qmlmanager.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp
index ed0643952..d8ad939f9 100644
--- a/mobile-widgets/qmlmanager.cpp
+++ b/mobile-widgets/qmlmanager.cpp
@@ -1264,9 +1264,8 @@ void QMLManager::changesNeedSaving()
// on iOS
// on all other platforms we just save the changes and be done with it
mark_divelist_changed(true);
-#if defined(Q_OS_ANDROID)
saveChangesLocal();
-#elif !defined(Q_OS_IOS)
+#if !defined(Q_OS_IOS)
saveChangesCloud(false);
#endif
updateAllGlobalLists();