diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2017-12-17 14:49:40 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-12-18 12:07:10 -0800 |
commit | 0d01c70f3a376fbba09137ccf677cf0cd754719c (patch) | |
tree | ba52a6449f382ba55901a9aede59e19a31239409 /qt-models/divepicturemodel.h | |
parent | 2f5f1e036eb7f4dc74ee3a6ba00c62b565ec8df4 (diff) | |
download | subsurface-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.h | 3 |
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; }; |