mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2025-12-30 22:51:57 -08:00
Removed redundant constructor
Removed constructor that was not needed. Also removes annoying "error" output when compiling.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user