mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
QML UI: change order of cloud backend accesses
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
829369c18a
commit
e2e4bb6c2a
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue