summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/createlinkoperation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/installer/createlinkoperation.cpp')
-rw-r--r--src/libs/installer/createlinkoperation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/installer/createlinkoperation.cpp b/src/libs/installer/createlinkoperation.cpp
index 31524ceef..02ff94df3 100644
--- a/src/libs/installer/createlinkoperation.cpp
+++ b/src/libs/installer/createlinkoperation.cpp
@@ -65,8 +65,8 @@ bool CreateLinkOperation::performOperation()
if (args.count() != 2) {
setError(InvalidArguments);
- setErrorString(QObject::tr("Invalid arguments: %1 arguments given, 2 expected").arg(
- args.count()));
+ setErrorString(tr("Invalid arguments in %0: %1 arguments given, %2 expected%3.")
+ .arg(name()).arg(arguments().count()).arg(tr("exactly 2"), QLatin1String("")));
return false;
}