From 2feedf46fa86c19095a9f302d1d7a44d3416384d Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 15 May 2019 07:42:14 -0700 Subject: Cleanup: small coding style fixes And addressing a cut and paste error in a comment. Signed-off-by: Dirk Hohndel --- qt-models/divetripmodel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qt-models/divetripmodel.cpp') diff --git a/qt-models/divetripmodel.cpp b/qt-models/divetripmodel.cpp index 2fcdc0d89..dd871d80d 100644 --- a/qt-models/divetripmodel.cpp +++ b/qt-models/divetripmodel.cpp @@ -89,8 +89,8 @@ static int countPhotos(const struct dive *d) pic_offset = picture->offset.seconds; if ((pic_offset < -bufperiod) | (pic_offset > diveTotaltime+bufperiod)) { icon_index |= 0x02; // If picture is before/after the dive - } // then set the appropriate bit ... - else { + // then set the appropriate bit ... + } else { icon_index |= 0x01; // else set the bit for picture during the dive } } -- cgit v1.2.3-70-g09d2