Loyalty filter added (#3087)

This commit is contained in:
Vafthrudnir 2018-02-07 17:33:01 +01:00 committed by Zach H
parent 35159ef61a
commit a0d6a342d3
9 changed files with 39 additions and 19 deletions

View file

@ -63,7 +63,7 @@ void CardInfoText::setCard(CardInfoPtr card)
colorLabel2->setText(card->getColors().join(""));
cardtypeLabel2->setText(card->getCardType());
powtoughLabel2->setText(card->getPowTough());
loyaltyLabel2->setText(card->getLoyalty() > 0 ? QString::number(card->getLoyalty()) : QString());
loyaltyLabel2->setText(card->getLoyalty());
textLabel->setText(card->getText());
} else {
nameLabel2->setText("");