mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-01 02:23:25 +00:00
Always sync with cloud server when updating backend data
It makes no sense to only do this the very first time we connect to a cloud storage account. The existing code only happened to work because we incorrectly tried to maintain the loadFromCloud status across restarts of the application. So one bug hid another bug. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
c1b3de6190
commit
801ce01585
1 changed files with 1 additions and 2 deletions
|
@ -245,8 +245,7 @@ void QMLManager::retrieveUserid()
|
|||
s.setValue("subsurface_webservice_uid", prefs.userid);
|
||||
s.sync();
|
||||
}
|
||||
if (!loadFromCloud())
|
||||
loadDivesWithValidCredentials();
|
||||
loadDivesWithValidCredentials();
|
||||
}
|
||||
|
||||
void QMLManager::loadDiveProgress(int percent)
|
||||
|
|
Loading…
Add table
Reference in a new issue