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>
This commit is contained in:
Mate Barany 2022-09-12 18:27:13 +02:00
parent 18ecd62aaa
commit 6a581bc89e

View File

@ -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;