diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-03-26 14:27:14 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-03-26 14:27:14 -0700 |
commit | 302404dac04be24191115469890bfa9d5e6a9e83 (patch) | |
tree | 7cfe4380c8fae4c0dedf4efbf3c3b9b6fcacf81f | |
parent | 59bc5bb368b0f8dcd088bfefd49552169f63299f (diff) | |
download | subsurface-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>
-rw-r--r-- | mobile-widgets/qmlmanager.cpp | 3 |
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(); |