diff options
author | Katja Marttila <katja.marttila@qt.io> | 2017-08-21 12:36:28 +0300 |
---|---|---|
committer | Katja Marttila <katja.marttila@qt.io> | 2017-08-21 12:42:03 +0300 |
commit | 776c09b3307463fb3c3d8da7054439a28c2c9ad0 (patch) | |
tree | 564619250f6a13ef822e50b43033f9fa964d1421 /src/libs/installer/downloadfiletask.cpp | |
parent | 7a01e1b682a74a937a61c4879ca195c097249594 (diff) | |
parent | 854734dcbe6e5a6df62d995e14c5efb6976bb6e3 (diff) |
Merge remote-tracking branch 'origin/2.0' into 3.0
Conflicts:
src/libs/installer/downloadfiletask.cpp
src/sdk/translations/ru.ts
Change-Id: Ibce8b9592c98cec5af3521f4ae6f850c2b8f45ac
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 c6cef2183..2c99e04e1 100644 --- a/src/libs/installer/downloadfiletask.cpp +++ b/src/libs/installer/downloadfiletask.cpp @@ -257,6 +257,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()); @@ -265,7 +266,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( |