mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-30 21:10:02 -05:00
Small Fix
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user