mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-10 12:23:58 -07:00
another optimization
This commit is contained in:
parent
c487c894e4
commit
0fc41078d9
1 changed files with 1 additions and 4 deletions
|
|
@ -236,10 +236,7 @@ QList<QString> DeckCardZoneDisplayWidget::getGroupCriteriaValueList()
|
||||||
for (auto node : nodes) {
|
for (auto node : nodes) {
|
||||||
CardInfoPtr info = CardDatabaseManager::query()->getCardInfo(node->getName());
|
CardInfoPtr info = CardDatabaseManager::query()->getCardInfo(node->getName());
|
||||||
if (info) {
|
if (info) {
|
||||||
QString property = info->getProperty(activeGroupCriteria);
|
groupCriteriaValues.append(info->getProperty(activeGroupCriteria));
|
||||||
for (int i = 0; i < node->getNumber(); i++) {
|
|
||||||
groupCriteriaValues.append(property);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue