QML UI: only force network access when user asks us to

So when the user taps on the manual cloud sync, we always force access to
the cloud server. Otherwise we only access the cloud server if
git_local_only isn't set.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2016-04-08 12:35:45 -07:00
parent 685d31cd4f
commit 4ed369b975
3 changed files with 14 additions and 7 deletions

View file

@ -100,7 +100,7 @@ public slots:
QString buddy, QString diveMaster, QString weight, QString notes,
QString startpressure, QString endpressure, QString gasmix);
void saveChangesLocal();
void saveChangesCloud();
void saveChangesCloud(bool forceRemoteSync);
void deleteDive(int id);
void undoDelete(int id);
QString addDive();