[CardInfo] Refactor: remove properties setters (#7070)

This commit is contained in:
RickyRister 2026-08-07 11:50:58 -07:00 committed by GitHub
parent 32619f4d55
commit 0d14fb77a0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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 ---------------------------------------------------------------