Commit 13d3de5c authored by Max-Wilhelm Bruker's avatar Max-Wilhelm Bruker
Browse files

don't show card p/t and loyalty in CardInfoWidget when showing only the picture

parent 86111c7b
......@@ -94,12 +94,12 @@ void CardInfoWidget::minimizeClicked(int newMinimized)
bool CardInfoWidget::shouldShowPowTough()
{
return (!info->getPowTough().isEmpty());
return (!info->getPowTough().isEmpty() && (minimized != 0));
}
bool CardInfoWidget::shouldShowLoyalty()
{
return (info->getLoyalty() > 0);
return ((info->getLoyalty() > 0) && (minimized != 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