mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-22 02:12:14 -07:00
DeckList now tries to assign reasonable defaults for UUID and collectorNumber if none are found in loaded DeckLists.
Rename overloaded DeckListModel findChild() function to findCardChildByNameAndUUID() for clarity.
This commit is contained in:
parent
963ff64cb6
commit
edbc57edc7
3 changed files with 43 additions and 11 deletions
|
|
@ -128,7 +128,7 @@ public:
|
|||
|
||||
void clearTree();
|
||||
AbstractDecklistNode *findChild(const QString &_name);
|
||||
AbstractDecklistNode *findChild(const QString &_name, const QString &_uuid);
|
||||
AbstractDecklistNode *findCardChildByNameAndUUID(const QString &_name, const QString &_uuid);
|
||||
int height() const override;
|
||||
int recursiveCount(bool countTotalCards = false) const;
|
||||
bool compare(AbstractDecklistNode *other) const override;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue