[Card DB] Properly pass along set priority controller to parsers

Took 16 minutes

Took 35 seconds
This commit is contained in:
Lukas Brübach 2025-12-16 13:54:04 +01:00
parent d47dc35885
commit bd04289552
9 changed files with 26 additions and 10 deletions

View file

@ -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.