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 {
|
} else {
|
||||||
int dim = defaultIconMetrics().sz_pic;
|
int dim = defaultIconMetrics().sz_pic;
|
||||||
QImage p = SHashedImage(picture);
|
QImage p = SHashedImage(picture);
|
||||||
if(!p.isNull())
|
if(!p.isNull()) {
|
||||||
p = p.scaled(dim, dim, Qt::KeepAspectRatio);
|
p = p.scaled(dim, dim, Qt::KeepAspectRatio);
|
||||||
cache.insert(picture->filename, p);
|
cache.insert(picture->filename, p);
|
||||||
|
}
|
||||||
ret.second = p;
|
ret.second = p;
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
|
|
Loading…
Add table
Reference in a new issue