Qt6: Sprinkle QLatin1Strings for QStringView comparisons

Task-number: QTCREATORBUG-24098
Change-Id: I2fb79bcfd0537a6704a1ee8db840401d6beca7a0
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Eike Ziller
2020-09-28 17:29:50 +02:00
parent cf460578ff
commit 3ee70780b4
12 changed files with 142 additions and 142 deletions

View File

@@ -214,7 +214,7 @@ bool ScxmlDocument::load(QIODevice *io)
continue;
if (token == QXmlStreamReader::StartElement) {
if (xml.name() == "scxml") {
if (xml.name() == QLatin1String("scxml")) {
// Get and add namespaces
QXmlStreamNamespaceDeclarations ns = xml.namespaceDeclarations();
for (int i = 0; i < ns.count(); ++i)