mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 00:04:48 -07:00
fixed bug #35
This commit is contained in:
parent
5486843605
commit
ee0a010add
5 changed files with 421 additions and 16 deletions
|
|
@ -454,7 +454,7 @@ bool CardDatabase::loadFromFile(const QString &fileName)
|
|||
}
|
||||
}
|
||||
qDebug(QString("%1 cards in %2 sets loaded").arg(cardHash.size()).arg(setHash.size()).toLatin1());
|
||||
return true;
|
||||
return !cardHash.isEmpty();
|
||||
}
|
||||
|
||||
bool CardDatabase::saveToFile(const QString &fileName)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue