Add QSet for faster lookups in CardDatabase (#5332)

This commit is contained in:
Zach H 2024-12-26 19:52:18 -05:00 committed by GitHub
parent 7a8e957476
commit 17b82a186f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 4 deletions

View file

@ -46,6 +46,7 @@ public:
private:
QList<CardInfoPtr> cardList;
QSet<CardInfoPtr> cardListSet; // Supports faster lookups in cardDatabaseEnabledSetsChanged()
CardDatabase *db;
bool showOnlyCardsFromEnabledSets;