Fix linked cardwidget not showing PT/Loyalty
This commit is contained in:
parent
26e63a9a3a
commit
f3c43cb50f
1 changed files with 2 additions and 4 deletions
|
@ -99,14 +99,12 @@ void CardInfoWidget::minimizeClicked(int newMinimized)
|
||||||
|
|
||||||
bool CardInfoWidget::shouldShowPowTough()
|
bool CardInfoWidget::shouldShowPowTough()
|
||||||
{
|
{
|
||||||
// return (!info->getPowTough().isEmpty() && (minimized != 0));
|
return !info->getPowTough().isEmpty();
|
||||||
return (minimized != 0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CardInfoWidget::shouldShowLoyalty()
|
bool CardInfoWidget::shouldShowLoyalty()
|
||||||
{
|
{
|
||||||
// return ((info->getLoyalty() > 0) && (minimized != 0));
|
return (info->getLoyalty() > 0);
|
||||||
return (minimized != 0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void CardInfoWidget::setMinimized(int _minimized)
|
void CardInfoWidget::setMinimized(int _minimized)
|
||||||
|
|
Loading…
Reference in a new issue