mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Make logical block match indentation
Coverity CID 1325519 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
69036a1bb7
commit
58fbee7150
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue