updated Spanish; adjusted details for release

This commit is contained in:
Max-Wilhelm Bruker 2012-06-24 16:40:05 +02:00
parent 0bd0361a27
commit 87584a3a76
7 changed files with 253 additions and 253 deletions

View file

@ -94,12 +94,14 @@ void CardInfoWidget::minimizeClicked(int newMinimized)
bool CardInfoWidget::shouldShowPowTough()
{
return (!info->getPowTough().isEmpty() && (minimized != 0));
// return (!info->getPowTough().isEmpty() && (minimized != 0));
return (minimized != 0);
}
bool CardInfoWidget::shouldShowLoyalty()
{
return ((info->getLoyalty() > 0) && (minimized != 0));
// return ((info->getLoyalty() > 0) && (minimized != 0));
return (minimized != 0);
}
void CardInfoWidget::setMinimized(int _minimized)
@ -153,7 +155,7 @@ void CardInfoWidget::setCard(CardInfo *card)
manacostLabel2->setText(card->getManaCost());
cardtypeLabel2->setText(card->getCardType());
powtoughLabel2->setText(card->getPowTough());
loyaltyLabel2->setText(QString::number(card->getLoyalty()));
loyaltyLabel2->setText(card->getLoyalty() > 0 ? QString::number(card->getLoyalty()) : QString());
textLabel->setText(card->getText());
powtoughLabel1->setVisible(shouldShowPowTough());