mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-10 04:16:43 -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) {
|
||||
CardInfoPtr info = CardDatabaseManager::query()->getCardInfo(node->getName());
|
||||
if (info) {
|
||||
QString property = info->getProperty(activeGroupCriteria);
|
||||
for (int i = 0; i < node->getNumber(); i++) {
|
||||
groupCriteriaValues.append(property);
|
||||
}
|
||||
groupCriteriaValues.append(info->getProperty(activeGroupCriteria));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue