mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-26 16:43:55 -07:00
Speed up deck editor filtering
* card: cache simpleName for each card * deck editor: remove double comparation of searched term with card name when sorting
This commit is contained in:
parent
feeaa9c9d1
commit
eb6d067a21
3 changed files with 15 additions and 17 deletions
|
|
@ -142,6 +142,7 @@ public:
|
|||
MuidMap muids = MuidMap());
|
||||
~CardInfo();
|
||||
const QString &getName() const { return name; }
|
||||
const QString &getSimpleName() const { return simpleName; }
|
||||
bool getIsToken() const { return isToken; }
|
||||
const SetList &getSets() const { return sets; }
|
||||
const QString &getManaCost() const { return manacost; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue