Commit f3c43cb5 authored by Jeff's avatar Jeff
Browse files

Fix linked cardwidget not showing PT/Loyalty

parent 26e63a9a
......@@ -99,14 +99,12 @@ void CardInfoWidget::minimizeClicked(int newMinimized)
bool CardInfoWidget::shouldShowPowTough()
{
// return (!info->getPowTough().isEmpty() && (minimized != 0));
return (minimized != 0);
return !info->getPowTough().isEmpty();
}
bool CardInfoWidget::shouldShowLoyalty()
{
// return ((info->getLoyalty() > 0) && (minimized != 0));
return (minimized != 0);
return (info->getLoyalty() > 0);
}
void CardInfoWidget::setMinimized(int _minimized)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment