mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Small Fix
This commit is contained in:
parent
1e3fb6c6e1
commit
df393638ed
1 changed files with 1 additions and 1 deletions
|
|
@ -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())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue