mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-28 08:52:19 -07:00
[CardInfo] Encapsulate lazy properties loading into new class
This commit is contained in:
parent
a5f43c08fa
commit
9716f7f2c3
11 changed files with 195 additions and 124 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue