mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-17 07:52:16 -07:00
Add QSet for faster lookups in CardDatabase (#5332)
This commit is contained in:
parent
7a8e957476
commit
17b82a186f
2 changed files with 9 additions and 4 deletions
|
|
@ -46,6 +46,7 @@ public:
|
|||
|
||||
private:
|
||||
QList<CardInfoPtr> cardList;
|
||||
QSet<CardInfoPtr> cardListSet; // Supports faster lookups in cardDatabaseEnabledSetsChanged()
|
||||
CardDatabase *db;
|
||||
bool showOnlyCardsFromEnabledSets;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue