summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libs/installer/downloadfiletask.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libs/installer/downloadfiletask.cpp b/src/libs/installer/downloadfiletask.cpp
index 9a065853f..b9b560383 100644
--- a/src/libs/installer/downloadfiletask.cpp
+++ b/src/libs/installer/downloadfiletask.cpp
@@ -250,6 +250,7 @@ void Downloader::onError(QNetworkReply::NetworkError error)
const Data &data = *m_downloads[reply];
//Do not throw error if Updates.xml not found. The repository might be removed
//with RepositoryUpdate in Updates.xml later.
+ //: %2 is a sentence describing the error
if (data.taskItem.source().contains(QLatin1String("Updates.xml"), Qt::CaseInsensitive)) {
qDebug() << QString::fromLatin1("Network error while downloading '%1': %2.").arg(
data.taskItem.source(), reply->errorString());
@@ -258,8 +259,6 @@ void Downloader::onError(QNetworkReply::NetworkError error)
TaskException(tr("Network error while downloading '%1': %2.").arg(
data.taskItem.source(), reply->errorString())));
}
- //: %2 is a sentence describing the error
-
} else {
//: %1 is a sentence describing the error
m_futureInterface->reportException(