mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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 <dirk@hohndel.org>
This commit is contained in:
parent
eaed18ba40
commit
0a58e6d117
1 changed files with 1 additions and 0 deletions
|
@ -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() <<
|
||||
|
|
Loading…
Add table
Reference in a new issue