summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkh1 <karsten.heimrich@digia.com>2014-04-01 13:03:18 +0200
committerKarsten Heimrich <karsten.heimrich@digia.com>2014-04-03 11:08:36 +0200
commit767e8bc34d4015181c1853cea32211999cb02905 (patch)
treebc2a170edc95a062e00b404b4b293f5857e91c41
parent2553e8178f5d94c2272f64d52ee1434be4ff8dc6 (diff)
Be more descriptive while downloading the actual component.
Task-number: QTIFW-438 Change-Id: I309c69cf8a7460d17d76a54fee724e10ab0c9347 Reviewed-by: Kai Koehne <kai.koehne@digia.com> Reviewed-by: Niels Weber <niels.weber@digia.com>
-rw-r--r--src/libs/installer/downloadarchivesjob.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/libs/installer/downloadarchivesjob.cpp b/src/libs/installer/downloadarchivesjob.cpp
index 1a604c0e0..5cada20d4 100644
--- a/src/libs/installer/downloadarchivesjob.cpp
+++ b/src/libs/installer/downloadarchivesjob.cpp
@@ -324,15 +324,14 @@ KDUpdater::FileDownloader *DownloadArchivesJob::setupDownloader(const QString &s
+ component->name() + QLatin1Char('/') + fi.fileName() + suffix);
}
- QString message = tr("Downloading archive hash for component: %1");
- if (suffix.isEmpty())
- message = tr("Downloading archive for component: %1");
- emit outputTextChanged(message.arg(component->displayName()));
+ emit outputTextChanged(tr("Downloading archive '%1' for component: %2")
+ .arg(fi.fileName() + suffix, component->displayName()));
} else {
emit outputTextChanged(tr("Scheme not supported: %1 (%2)").arg(scheme, url.toString()));
}
} else {
- emit outputTextChanged(tr("Could not find component for: %1.").arg(QFileInfo(fi.path()).fileName()));
+ emit outputTextChanged(tr("Could not find component for: %1.").arg(QFileInfo(fi.path())
+ .fileName()));
}
return downloader;
}