[CardInfo] Encapsulate lazy properties loading into new class

This commit is contained in:
RickyRister 2026-07-27 21:25:54 -07:00
parent a5f43c08fa
commit 9716f7f2c3
11 changed files with 195 additions and 124 deletions

View file

@ -322,7 +322,7 @@ void CockatriceXml4Parser::loadCardsFromXml(QXmlStreamReader &xml)
}
printingProps.insert(attrName, attr.value().toString());
}
PrintingInfo printingInfo(set, printingProps);
PrintingInfo printingInfo(set, LazyPropertiesHash(printingProps));
// This is very much a hack and not the right place to
// put this check, as it requires a reload of Cockatrice