mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-22 06:43:54 -07:00
updated Spanish; adjusted details for release
This commit is contained in:
parent
0bd0361a27
commit
87584a3a76
7 changed files with 253 additions and 253 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue