forked from qt-creator/qt-creator
Qt6: Sprinkle QLatin1Strings for QStringView comparisons
Task-number: QTCREATORBUG-24098 Change-Id: I2fb79bcfd0537a6704a1ee8db840401d6beca7a0 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user