From 4ed369b9759d2a720cffcba3062d50713233150d Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 8 Apr 2016 12:35:45 -0700 Subject: 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 --- mobile-widgets/qmlmanager.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mobile-widgets/qmlmanager.h') 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(); -- cgit v1.2.3-70-g09d2