From 0d01c70f3a376fbba09137ccf677cf0cd754719c Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sun, 17 Dec 2017 14:49:40 +0100 Subject: 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 --- qt-models/divepicturemodel.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'qt-models') 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>); void removePicture(const QString& fileUrl, bool last); int rowDDStart, rowDDEnd; - -protected: +private: DivePictureModel(); QList pictures; }; -- cgit v1.2.3-70-g09d2