diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2021-04-16 12:55:05 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2021-04-19 12:51:01 -0700 |
commit | 766f297bc4c01b81ee11ceb724460240403068a1 (patch) | |
tree | b4cac2a274ccb80f2f5da6d80a5792965f88eeae /core/checkcloudconnection.h | |
parent | fe074ccad153791b32c2f62af530091cb025cdee (diff) | |
download | subsurface-766f297bc4c01b81ee11ceb724460240403068a1.tar.gz |
cloudstorage: try alternative server if first connection fails
If we can't reach our preferred server, try using a different one.
The diff makes more sense when ignoring white space.
With this we check the connection to the cloud server much earlier and
in case of failure to connect try a different cloud_base_url.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/checkcloudconnection.h')
-rw-r--r-- | core/checkcloudconnection.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/checkcloudconnection.h b/core/checkcloudconnection.h index 414ddc434..92e1b1a35 100644 --- a/core/checkcloudconnection.h +++ b/core/checkcloudconnection.h @@ -14,6 +14,7 @@ public: void pickServer(); private: QNetworkReply *reply; + bool nextServer(); private slots: void sslErrors(const QList<QSslError> &errorList); |