summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@theqtcompany.com>2015-06-15 09:40:20 +0200
committerKai Koehne <kai.koehne@theqtcompany.com>2015-06-15 13:22:59 +0000
commit80b2694aede1ed736c619f76cb7b6250a913635b (patch)
treecc6424dd6e51e56a5405180e019845aa4718d5a3 /tools
parent4d3234760d3f785000400621ba0ac90a2c27c9dd (diff)
Remove %0 from tr() calls
The placeholder of the first argument to QString::tr() is %1, not %0. Change-Id: I69fcddb42ddbfda27dfb4430f03ebef156280c64 Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/common/repositorygen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/common/repositorygen.cpp b/tools/common/repositorygen.cpp
index 5ccb0e696..a688742f7 100644
--- a/tools/common/repositorygen.cpp
+++ b/tools/common/repositorygen.cpp
@@ -218,7 +218,7 @@ void QInstallerTools::copyMetaData(const QString &_targetDir, const QString &met
if (foundDefault && foundVirtual) {
throw QInstaller::Error(QString::fromLatin1("Error: <Default> and <Virtual> elements are "
- "mutually exclusive. File: '%0'").arg(packageXmlPath));
+ "mutually exclusive. File: '%1'").arg(packageXmlPath));
}
if (!foundDisplayName) {