summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-08 12:28:05 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-08 12:28:05 -0700
commite2e4bb6c2ac52c7df99d4284389fb490fcabe588 (patch)
tree2ff975789dc86d98998b5d4dce1352c48e55a39a
parent829369c18acea2b7ddf421559f924aaf2d3366ef (diff)
downloadsubsurface-e2e4bb6c2ac52c7df99d4284389fb490fcabe588.tar.gz
QML UI: change order of cloud backend accesses
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--mobile-widgets/qmlmanager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp
index dfb3dab31..aba3ce3c8 100644
--- a/mobile-widgets/qmlmanager.cpp
+++ b/mobile-widgets/qmlmanager.cpp
@@ -252,6 +252,8 @@ void QMLManager::checkCredentialsAndExecute(execute_function_type execute)
setAccessingCloud(0);
setStartPageText(tr("Testing cloud credentials"));
appendTextToLog("Have credentials, let's see if they are valid");
+ CloudStorageAuthenticate *csa = new CloudStorageAuthenticate(this);
+ csa->backend(prefs.cloud_storage_email, prefs.cloud_storage_password);
connect(manager(), &QNetworkAccessManager::authenticationRequired, this, &QMLManager::provideAuth, Qt::UniqueConnection);
connect(manager(), &QNetworkAccessManager::finished, this, execute, Qt::UniqueConnection);
QUrl url(CLOUDREDIRECTURL);