From 0a58e6d11795df7c8d2f0ede4915c147788fa3e6 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sun, 17 Jul 2016 09:15:10 +0900 Subject: Stay offline if the cloud server is unreachable It makes no sense to keep trying. Maybe we need a UI to force it online again, but for now this works much better when using cloud storage while actually offline. Signed-off-by: Dirk Hohndel --- core/checkcloudconnection.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'core') diff --git a/core/checkcloudconnection.cpp b/core/checkcloudconnection.cpp index ef2e516e8..b0addc0ac 100644 --- a/core/checkcloudconnection.cpp +++ b/core/checkcloudconnection.cpp @@ -63,6 +63,7 @@ bool CheckCloudConnection::checkServer() } } git_storage_update_progress(false, "cloud connection failed"); + prefs.git_local_only = true; if (verbose) qDebug() << "connection test to cloud server failed" << reply->error() << reply->errorString() << -- cgit v1.2.3-70-g09d2