mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-29 17:32:17 -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
|
|
@ -119,7 +119,7 @@ PrintingInfo readPrinting(QDataStream &in, const SetNameMap &sets)
|
|||
QByteArray propsBlob = readHashBlob(in);
|
||||
auto set = sets.value(setName);
|
||||
|
||||
return PrintingInfo(set, propsBlob);
|
||||
return PrintingInfo(set, LazyPropertiesHash(propsBlob));
|
||||
}
|
||||
|
||||
// ---- CardSet ---------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue