summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qmlmanager.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-08 12:35:45 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-08 12:37:17 -0700
commit4ed369b9759d2a720cffcba3062d50713233150d (patch)
treea696f62bdd963462652486f7f9d3d43c6f03b2bc /mobile-widgets/qmlmanager.h
parent685d31cd4fda38c5d7c410356bbb2398d6dc2867 (diff)
downloadsubsurface-4ed369b9759d2a720cffcba3062d50713233150d.tar.gz
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>
Diffstat (limited to 'mobile-widgets/qmlmanager.h')
-rw-r--r--mobile-widgets/qmlmanager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile-widgets/qmlmanager.h b/mobile-widgets/qmlmanager.h
index c7699b3c5..bb9db791f 100644
--- a/mobile-widgets/qmlmanager.h
+++ b/mobile-widgets/qmlmanager.h
@@ -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();