Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
13d3de5c
Commit
13d3de5c
authored
Apr 22, 2012
by
Max-Wilhelm Bruker
Browse files
don't show card p/t and loyalty in CardInfoWidget when showing only the picture
parent
86111c7b
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/cardinfowidget.cpp
View file @
13d3de5c
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment