diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2015-11-07 23:00:14 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-11-07 22:26:32 -0800 |
commit | 73ddd57cf0e3ce3c45ba9c340af47ae74267235a (patch) | |
tree | e815d3cc8c09a623dd86d772adc6ec6678dc31c7 /desktop-widgets/preferences | |
parent | 9b20a5bd4feb39574d5d82324dadbc9308cd85e3 (diff) | |
download | subsurface-73ddd57cf0e3ce3c45ba9c340af47ae74267235a.tar.gz |
preferences_network.cpp: remove some unused 'reply' variables
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'desktop-widgets/preferences')
-rw-r--r-- | desktop-widgets/preferences/preferences_network.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/desktop-widgets/preferences/preferences_network.cpp b/desktop-widgets/preferences/preferences_network.cpp index 3780a6c91..d812f4ab1 100644 --- a/desktop-widgets/preferences/preferences_network.cpp +++ b/desktop-widgets/preferences/preferences_network.cpp @@ -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); -}
\ No newline at end of file +} |