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>
This commit is contained in:
Berthold Stoeger 2017-12-17 14:49:40 +01:00 committed by Dirk Hohndel
parent 2f5f1e036e
commit 0d01c70f3a

View file

@ -24,8 +24,7 @@ public:
void updateDivePicturesWhenDone(QList<QFuture<void>>); void updateDivePicturesWhenDone(QList<QFuture<void>>);
void removePicture(const QString& fileUrl, bool last); void removePicture(const QString& fileUrl, bool last);
int rowDDStart, rowDDEnd; int rowDDStart, rowDDEnd;
private:
protected:
DivePictureModel(); DivePictureModel();
QList<PictureEntry> pictures; QList<PictureEntry> pictures;
}; };