summaryrefslogtreecommitdiffstats
path: root/src/tools/rcc
diff options
context:
space:
mode:
authorMate Barany <mate.barany@qt.io>2022-09-12 18:27:13 +0200
committerMate Barany <mate.barany@qt.io>2022-09-28 16:13:51 +0200
commit6a581bc89e5afce6c569ef7e21e1ade35d18d108 (patch)
treef4e76aa8b44c3323905e4f4f0524215d382c460b /src/tools/rcc
parent18ecd62aaa12217ba6beb2178b38ef471ea538ec (diff)
rcc: Drop extra QString()
Addressing a comment from the review of QTBUG-98434. Drop the exta QString() call, it is unnecessary. Task-number: QTBUG-103100 Change-Id: I5a13deb5d3c52166919302bc4bb45bd0b6b5c770 Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'src/tools/rcc')
-rw-r--r--src/tools/rcc/rcc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/rcc/rcc.cpp b/src/tools/rcc/rcc.cpp
index db2a821b95..a96b45e293 100644
--- a/src/tools/rcc/rcc.cpp
+++ b/src/tools/rcc/rcc.cpp
@@ -556,7 +556,7 @@ bool RCCResourceLibrary::interpretResourceFile(QIODevice *inputDevice,
reader.raiseError(errorString);
}
} else {
- reader.raiseError(QString("unexpected tag: %1"_L1).arg(reader.name().toString()));
+ reader.raiseError("unexpected tag: %1"_L1.arg(reader.name().toString()));
}
break;