[DeckListModel] add getCardNodes method (#6484)

* [DeckListModel] add getCardNodes method

* Update one usage
This commit is contained in:
RickyRister 2026-01-02 18:55:27 -08:00 committed by GitHub
parent 73cc0541f5
commit 84aefda486
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 17 additions and 1 deletions

View file

@ -168,7 +168,7 @@ void DrawProbabilityWidget::updateFilterOptions()
QMap<QString, int> categoryCounts;
int totalDeckCards = 0;
const auto nodes = analyzer->getModel()->getDeckList()->getCardNodes();
const auto nodes = analyzer->getModel()->getCardNodes();
for (auto *node : nodes) {
CardInfoPtr info = CardDatabaseManager::query()->getCard({node->getName()}).getCardPtr();
if (!info) {