summaryrefslogtreecommitdiffstats
path: root/qt-models/divepicturemodel.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2017-12-17 14:49:40 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-12-18 12:07:10 -0800
commit0d01c70f3a376fbba09137ccf677cf0cd754719c (patch)
treeba52a6449f382ba55901a9aede59e19a31239409 /qt-models/divepicturemodel.h
parent2f5f1e036eb7f4dc74ee3a6ba00c62b565ec8df4 (diff)
downloadsubsurface-0d01c70f3a376fbba09137ccf677cf0cd754719c.tar.gz
Make protected DivePictureModel members private
The constructor and the list of pictures was protected, but the class neither had friends nor subclasses (a subclass was removed in a recent commit). Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'qt-models/divepicturemodel.h')
-rw-r--r--qt-models/divepicturemodel.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/qt-models/divepicturemodel.h b/qt-models/divepicturemodel.h
index f20b7037b..53a72076a 100644
--- a/qt-models/divepicturemodel.h
+++ b/qt-models/divepicturemodel.h
@@ -24,8 +24,7 @@ public:
void updateDivePicturesWhenDone(QList<QFuture<void>>);
void removePicture(const QString& fileUrl, bool last);
int rowDDStart, rowDDEnd;
-
-protected:
+private:
DivePictureModel();
QList<PictureEntry> pictures;
};