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
df393638
Commit
df393638
authored
Mar 18, 2016
by
Fabio Bas
Browse files
Small Fix
parent
1e3fb6c6
Changes
1
Show whitespace changes
Inline
Side-by-side
cockatrice/src/abstractcarditem.cpp
View file @
df393638
...
...
@@ -99,7 +99,7 @@ void AbstractCardItem::paintPicture(QPainter *painter, const QSizeF &translatedS
PictureLoader
::
getPixmap
(
translatedPixmap
,
nullptr
,
translatedSize
.
toSize
());
}
else
{
// don't even spend time trying to load the picture if our size is too small
if
(
info
&&
translatedSize
.
width
()
>
10
)
if
(
translatedSize
.
width
()
>
10
)
{
PictureLoader
::
getPixmap
(
translatedPixmap
,
info
,
translatedSize
.
toSize
());
if
(
translatedPixmap
.
isNull
())
...
...
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