From cbee1bef1935f6262f6c852224bc61a3982f949a Mon Sep 17 00:00:00 2001 From: Katja Marttila Date: Thu, 30 Mar 2017 09:49:42 +0300 Subject: Move comment to correct location Change-Id: Iaa3e4814b3f028552df90fa2ac004a645578a659 Reviewed-by: Iikka Eklund --- src/libs/installer/downloadfiletask.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/libs') 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( -- cgit v1.2.3