summaryrefslogtreecommitdiffstats
path: root/src/linguist
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2019-06-11 19:42:25 +0200
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2019-06-11 19:42:25 +0200
commit6b98a4915042a97058d51257d51befed9a364c86 (patch)
tree1efd3a6e2a869a96a5363f75009adeea0adcb3f9 /src/linguist
parent95e34a568a88cb101b8ec8a5612c588b24830202 (diff)
Port from QLatin1Literal to QLatin1String
QLatin1Literal is an undocumented and deprecated typedef for QLatin1String, just use the original. Change-Id: I8fb7e75deeca45f154a4a9b27e8dd3eea21d8df5 Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/linguist')
-rw-r--r--src/linguist/lupdate/main.cpp2
1 files changed, 1 insertions, 1 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;