summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libs/installer/registerfiletypeoperation.cpp2
-rw-r--r--tools/repogen/repogen.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/libs/installer/registerfiletypeoperation.cpp b/src/libs/installer/registerfiletypeoperation.cpp
index 2cfd8f9c4..bcae422d7 100644
--- a/src/libs/installer/registerfiletypeoperation.cpp
+++ b/src/libs/installer/registerfiletypeoperation.cpp
@@ -89,7 +89,7 @@ bool RegisterFileTypeOperation::performOperation()
{
#ifdef Q_OS_WIN
ensureOptionalArgumentsRead();
- if (!checkArgumentCount(2, 5, tr("<extension> <command> [description [contentType [icon]]]")))
+ if (!checkArgumentCount(2, 5, QString::fromLatin1("<extension> <command> [description [contentType [icon]]]")))
return false;
QStringList args = arguments();
diff --git a/tools/repogen/repogen.cpp b/tools/repogen/repogen.cpp
index 67184c49e..f8f62bfc3 100644
--- a/tools/repogen/repogen.cpp
+++ b/tools/repogen/repogen.cpp
@@ -124,8 +124,8 @@ int main(int argc, char** argv)
args.removeFirst();
if (!filteredPackages.isEmpty()) {
return printErrorAndUsageAndExit(QCoreApplication::translate("QInstaller",
- "Error: --include and --exclude are mutual exclusive options. Use either "
- "one or the other."));
+ "Error: --include and --exclude are mutually exclusive. Use either one or "
+ "the other."));
}
if (args.isEmpty() || args.first().startsWith(QLatin1Char('-'))) {