mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-11 12:54:10 -07:00
Style lint.
Took 2 minutes
This commit is contained in:
parent
137328dc10
commit
fc4c048ea9
1 changed files with 2 additions and 1 deletions
|
|
@ -287,8 +287,9 @@ void DeckEditorDeckDockWidget::updateBannerCardComboBox()
|
||||||
QList<DecklistCardNode *> cardsInDeck = deckModel->getDeckList()->getCardNodes();
|
QList<DecklistCardNode *> cardsInDeck = deckModel->getDeckList()->getCardNodes();
|
||||||
|
|
||||||
for (auto currentCard : cardsInDeck) {
|
for (auto currentCard : cardsInDeck) {
|
||||||
if (!CardDatabaseManager::query()->getCard(currentCard->toCardRef()))
|
if (!CardDatabaseManager::query()->getCard(currentCard->toCardRef())) {
|
||||||
continue;
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
// Insert one entry per distinct card, ignore copies
|
// Insert one entry per distinct card, ignore copies
|
||||||
bannerCardSet.insert({currentCard->getName(), currentCard->getCardProviderId()});
|
bannerCardSet.insert({currentCard->getName(), currentCard->getCardProviderId()});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue