[CardInfo] Refactor: remove properties setters

This commit is contained in:
RickyRister 2026-08-03 01:02:33 -07:00
parent 1ed9823b56
commit de125338da
8 changed files with 22 additions and 61 deletions

View file

@ -117,12 +117,9 @@ PrintingInfo readPrinting(QDataStream &in, const SetNameMap &sets)
{
QString setName = readString(in);
QByteArray propsBlob = readHashBlob(in);
PrintingInfo p;
if (auto set = sets.value(setName)) {
p = PrintingInfo(set);
}
p.setPropertiesBlob(propsBlob);
return p;
auto set = sets.value(setName);
return PrintingInfo(set, propsBlob);
}
// ---- CardSet ---------------------------------------------------------------