mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
preferences_network.cpp: remove some unused 'reply' variables
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
This commit is contained in:
parent
9b20a5bd4f
commit
73ddd57cf0
1 changed files with 4 additions and 4 deletions
|
@ -76,7 +76,7 @@ void PreferencesNetwork::syncSettings()
|
|||
CloudStorageAuthenticate *cloudAuth = new CloudStorageAuthenticate(this);
|
||||
connect(cloudAuth, SIGNAL(finishedAuthenticate()), this, SLOT(cloudPinNeeded()));
|
||||
connect(cloudAuth, SIGNAL(passwordChangeSuccessful()), this, SLOT(passwordUpdateSuccessfull()));
|
||||
QNetworkReply *reply = cloudAuth->backend(email, password, "", newpassword);
|
||||
cloudAuth->backend(email, password, "", newpassword);
|
||||
ui->cloud_storage_new_passwd->setText("");
|
||||
free(prefs.cloud_storage_newpassword);
|
||||
prefs.cloud_storage_newpassword = strdup(qPrintable(newpassword));
|
||||
|
@ -97,7 +97,7 @@ void PreferencesNetwork::syncSettings()
|
|||
} else {
|
||||
CloudStorageAuthenticate *cloudAuth = new CloudStorageAuthenticate(this);
|
||||
connect(cloudAuth, SIGNAL(finishedAuthenticate()), this, SLOT(cloudPinNeeded()));
|
||||
QNetworkReply *reply = cloudAuth->backend(email, password);
|
||||
cloudAuth->backend(email, password);
|
||||
}
|
||||
}
|
||||
} else if (prefs.cloud_verification_status == CS_NEED_TO_VERIFY) {
|
||||
|
@ -110,7 +110,7 @@ void PreferencesNetwork::syncSettings()
|
|||
}
|
||||
CloudStorageAuthenticate *cloudAuth = new CloudStorageAuthenticate(this);
|
||||
connect(cloudAuth, SIGNAL(finishedAuthenticate()), this, SLOT(cloudPinNeeded()));
|
||||
QNetworkReply *reply = cloudAuth->backend(email, password, pin);
|
||||
cloudAuth->backend(email, password, pin);
|
||||
}
|
||||
}
|
||||
SAVE_OR_REMOVE("email", default_prefs.cloud_storage_email, email);
|
||||
|
@ -169,4 +169,4 @@ void PreferencesNetwork::proxyType_changed(int idx)
|
|||
void PreferencesNetwork::passwordUpdateSuccessfull()
|
||||
{
|
||||
ui->cloud_storage_password->setText(prefs.cloud_storage_password);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue