diff options
author | Niels Weber <niels.weber@digia.com> | 2014-11-26 16:38:38 +0100 |
---|---|---|
committer | Niels Weber <niels.weber@theqtcompany.com> | 2014-11-26 16:52:22 +0100 |
commit | 418361abe46d122c43355c5564e2343a9de4ba58 (patch) | |
tree | e8ad49f05f5b0a13f855163f357690117692aeae /src/libs/installer/downloadfiletask.cpp | |
parent | 64d49f097f25dd019345a7e913e1c4cf8188e168 (diff) |
Wrong assignment as truth
Change-Id: I3d56249302114550ecf1ad020fe4ffd3af4141a2
Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
Diffstat (limited to 'src/libs/installer/downloadfiletask.cpp')
-rw-r--r-- | src/libs/installer/downloadfiletask.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/installer/downloadfiletask.cpp b/src/libs/installer/downloadfiletask.cpp index f48718b9d..a89e3a240 100644 --- a/src/libs/installer/downloadfiletask.cpp +++ b/src/libs/installer/downloadfiletask.cpp @@ -235,7 +235,7 @@ void Downloader::onError(QNetworkReply::NetworkError error) if (error == QNetworkReply::ProxyAuthenticationRequiredError) return; // already handled by onProxyAuthenticationRequired - if (error = QNetworkReply::AuthenticationRequiredError) + if (error == QNetworkReply::AuthenticationRequiredError) return; // already handled by onAuthenticationRequired if (reply) { |