Make logical block match indentation

Coverity CID 1325519

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-10-03 09:47:37 -04:00
parent 69036a1bb7
commit 58fbee7150

View file

@ -15,9 +15,10 @@ SPixmap scaleImages(picturepointer picture)
} else {
int dim = defaultIconMetrics().sz_pic;
QImage p = SHashedImage(picture);
if(!p.isNull())
if(!p.isNull()) {
p = p.scaled(dim, dim, Qt::KeepAspectRatio);
cache.insert(picture->filename, p);
}
ret.second = p;
}
return ret;