mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-09 17:44:01 -07:00
Update one usage
This commit is contained in:
parent
b8af0c3c88
commit
b01971157b
1 changed files with 1 additions and 1 deletions
|
|
@ -168,7 +168,7 @@ void DrawProbabilityWidget::updateFilterOptions()
|
||||||
QMap<QString, int> categoryCounts;
|
QMap<QString, int> categoryCounts;
|
||||||
int totalDeckCards = 0;
|
int totalDeckCards = 0;
|
||||||
|
|
||||||
const auto nodes = analyzer->getModel()->getDeckList()->getCardNodes();
|
const auto nodes = analyzer->getModel()->getCardNodes();
|
||||||
for (auto *node : nodes) {
|
for (auto *node : nodes) {
|
||||||
CardInfoPtr info = CardDatabaseManager::query()->getCard({node->getName()}).getCardPtr();
|
CardInfoPtr info = CardDatabaseManager::query()->getCard({node->getName()}).getCardPtr();
|
||||||
if (!info) {
|
if (!info) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue