mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-21 09:05:10 -07:00
[CardInfo] Refactor: remove properties setters (#7070)
This commit is contained in:
parent
32619f4d55
commit
0d14fb77a0
8 changed files with 22 additions and 61 deletions
|
|
@ -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 ---------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue