summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/linguist/lupdate/main.cpp2
-rw-r--r--src/winrtrunner/main.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/linguist/lupdate/main.cpp b/src/linguist/lupdate/main.cpp
index d74f213cc..d20b4b4df 100644
--- a/src/linguist/lupdate/main.cpp
+++ b/src/linguist/lupdate/main.cpp
@@ -853,7 +853,7 @@ int main(int argc, char **argv)
while (!lstFile.atEnd()) {
QString lineContent = QString::fromLocal8Bit(lstFile.readLine().trimmed());
- if (lineContent.startsWith(QLatin1Literal("-I"))) {
+ if (lineContent.startsWith(QLatin1String("-I"))) {
if (lineContent.length() == 2) {
printErr(LU::tr("The -I option should be followed by a path.\n"));
return 1;
diff --git a/src/winrtrunner/main.cpp b/src/winrtrunner/main.cpp
index bf4e8fabf..6a738b098 100644
--- a/src/winrtrunner/main.cpp
+++ b/src/winrtrunner/main.cpp
@@ -96,7 +96,7 @@ int main(int argc, char *argv[])
"The package is installed if it is not already "
"installed. Pass --install to force "
"reinstallation."),
- QLatin1Literal("debugger"));
+ QLatin1String("debugger"));
parser.addOption(debugOption);
QCommandLineOption debuggerArgumentsOption(QStringLiteral("debugger-arguments"),