cleanup: don't keep pointer-to-picture in PictureEntry

The DivePictureModel kept a pointer to picture for each entry.
Firstly, this is dangerous from a data-consistency point of view.
Secondly, the entry wasn't even used anywhere. Remove it.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2020-04-11 18:50:53 +02:00
parent 1c420dc64a
commit abf9650280
2 changed files with 1 additions and 2 deletions

View file

@ -10,7 +10,6 @@
struct PictureEntry {
int diveId;
struct picture *picture;
QString filename;
QImage image;
int offsetSeconds;