summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/registerfiletypeoperation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/installer/registerfiletypeoperation.cpp')
-rw-r--r--src/libs/installer/registerfiletypeoperation.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libs/installer/registerfiletypeoperation.cpp b/src/libs/installer/registerfiletypeoperation.cpp
index 49780f2b4..7fecde2cb 100644
--- a/src/libs/installer/registerfiletypeoperation.cpp
+++ b/src/libs/installer/registerfiletypeoperation.cpp
@@ -103,7 +103,8 @@ bool RegisterFileTypeOperation::performOperation()
if (args.count() < 2 || args.count() > 5) {
setError(InvalidArguments);
- setErrorString(tr("Invalid arguments in %0").arg(name()));
+ setErrorString(tr("Invalid arguments in %0: %1 arguments given, %2 expected%3.")
+ .arg(name()).arg(arguments().count()).arg(tr("2 to 5"), QLatin1String("")));
return false;
}