summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKatja Marttila <katja.marttila@qt.io>2017-03-30 09:49:42 +0300
committerKatja Marttila <katja.marttila@qt.io>2017-04-12 07:16:07 +0000
commitcbee1bef1935f6262f6c852224bc61a3982f949a (patch)
tree4393711573130d6b05c39879b5c734c54e508574 /src
parentbc84731cd487d9b77ebda247cc3e8487cc22af99 (diff)
Move comment to correct location
Change-Id: Iaa3e4814b3f028552df90fa2ac004a645578a659 Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
Diffstat (limited to 'src')
-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(