Small Fix

This commit is contained in:
Fabio Bas 2016-03-18 21:18:48 +01:00
parent 1e3fb6c6e1
commit df393638ed

View file

@ -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())