single player fix

This commit is contained in:
Max-Wilhelm Bruker
2010-09-08 20:15:34 +02:00
parent 135fed79ca
commit a5f678bc3d
7 changed files with 14 additions and 8 deletions

View File

@@ -470,6 +470,11 @@ void DeckList::cleanList()
setComments();
}
bool DeckList::isEmpty() const
{
return root->isEmpty();
}
DecklistCardNode *DeckList::addCard(const QString &cardName, const QString &zoneName)
{
InnerDecklistNode *zoneNode = dynamic_cast<InnerDecklistNode *>(root->findChild(zoneName));