toString() the xmlName

Took 4 minutes
This commit is contained in:
Lukas Brübach 2025-12-12 00:09:37 +01:00
parent ede712dbf5
commit 3db65129e7

View file

@ -168,7 +168,7 @@ void CockatriceXml4Parser::loadFormats(QXmlStreamReader &xml)
break;
}
if (xml.name() == "format") {
if (xml.name().toString() == "format") {
auto rulesPtr = parseFormat(xml);
emit addFormat(rulesPtr);
}