Removed redundant constructor

Removed constructor that was not needed. Also removes annoying "error"
output when compiling.
This commit is contained in:
Matt Lowe
2015-03-06 18:48:45 +01:00
parent fd4f76289c
commit 319b5d88b2
2 changed files with 2 additions and 3 deletions

View File

@@ -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;
}