summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/elevatedexecuteoperation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/installer/elevatedexecuteoperation.cpp')
-rw-r--r--src/libs/installer/elevatedexecuteoperation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/installer/elevatedexecuteoperation.cpp b/src/libs/installer/elevatedexecuteoperation.cpp
index cf9425b87..0aa8c101d 100644
--- a/src/libs/installer/elevatedexecuteoperation.cpp
+++ b/src/libs/installer/elevatedexecuteoperation.cpp
@@ -87,8 +87,8 @@ bool ElevatedExecuteOperation::performOperation()
// command line of the external program to execute.
if (arguments().isEmpty()) {
setError(InvalidArguments);
- setErrorString(tr("Invalid arguments in %1: %2 arguments given, at least 1 expected.").arg(name(),
- QString::number(arguments().count())));
+ setErrorString(tr("Invalid arguments in %0: %1 arguments given, %2 expected%3.")
+ .arg(name()).arg(arguments().count()).arg(tr("at least 1"), QLatin1String("")));
return false;
}
QStringList args;