mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Removed redundant constructor
Removed constructor that was not needed. Also removes annoying "error" output when compiling.
This commit is contained in:
parent
fd4f76289c
commit
319b5d88b2
2 changed files with 2 additions and 3 deletions
|
|
@ -586,7 +586,7 @@ bool DeckList::loadFromStream_Plain(QTextStream &in)
|
|||
}
|
||||
|
||||
++okRows;
|
||||
new DecklistCardNode(cardName, number, zone);
|
||||
new DecklistCardNode(cardName, number, 0, zone);
|
||||
}
|
||||
updateDeckHash();
|
||||
return (okRows > 0);
|
||||
|
|
@ -687,7 +687,7 @@ DecklistCardNode *DeckList::addCard(const QString &cardName, const QString &zone
|
|||
if (!zoneNode)
|
||||
zoneNode = new InnerDecklistNode(zoneName, root);
|
||||
|
||||
DecklistCardNode *node = new DecklistCardNode(cardName, 1, zoneNode);
|
||||
DecklistCardNode *node = new DecklistCardNode(cardName, 1, 0, zoneNode);
|
||||
updateDeckHash();
|
||||
return node;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue