mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-13 14:02:15 -07:00
[Card DB] Properly pass along set priority controller to parsers
Took 16 minutes Took 35 seconds
This commit is contained in:
parent
d47dc35885
commit
bd04289552
9 changed files with 26 additions and 10 deletions
|
|
@ -20,6 +20,7 @@ class ICardDatabaseParser : public QObject
|
|||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
ICardDatabaseParser(ICardSetPriorityController *cardSetPriorityController);
|
||||
~ICardDatabaseParser() override = default;
|
||||
|
||||
/**
|
||||
|
|
@ -59,6 +60,7 @@ public:
|
|||
protected:
|
||||
/** @brief Cached global list of sets shared between all parsers. */
|
||||
static SetNameMap sets;
|
||||
ICardSetPriorityController *cardSetPriorityController;
|
||||
|
||||
/**
|
||||
* @brief Internal helper to add a set to the global set cache.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue