From 58fbee7150b021671d5dee70ee968fb1d42f8902 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 3 Oct 2015 09:47:37 -0400 Subject: Make logical block match indentation Coverity CID 1325519 Signed-off-by: Dirk Hohndel --- qt-models/divepicturemodel.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qt-models/divepicturemodel.cpp b/qt-models/divepicturemodel.cpp index 06051dd28..1f37423e2 100644 --- a/qt-models/divepicturemodel.cpp +++ b/qt-models/divepicturemodel.cpp @@ -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; -- cgit v1.2.3-70-g09d2