mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 08:14:47 -07:00
[DeckListModel] add getCardNodes method (#6484)
* [DeckListModel] add getCardNodes method * Update one usage
This commit is contained in:
parent
73cc0541f5
commit
84aefda486
3 changed files with 17 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue