From df393638ed4f4d323c9c148ad8bfaf32b1de4656 Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Fri, 18 Mar 2016 21:18:48 +0100 Subject: [PATCH] Small Fix --- cockatrice/src/abstractcarditem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cockatrice/src/abstractcarditem.cpp b/cockatrice/src/abstractcarditem.cpp index 5c0047f8b..5197f9065 100644 --- a/cockatrice/src/abstractcarditem.cpp +++ b/cockatrice/src/abstractcarditem.cpp @@ -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())