Merge pull request #1386 from Fizztastic/fix_1383
Fix linked cardwidget not showing PT/Loyalty
This commit is contained in:
commit
8c0722953f
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