Dive pictures: give user option to recalculate thumbnails

Even though hashes of image contents are calculated, the hashes are
not compared to actual file contents in routine-operation. Therefore
give the user the option to recalculate thumbnails, should they have
edited the picture.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2018-05-27 14:03:29 +02:00 committed by Lubomir I. Ivanov
parent f265504dab
commit 23d38a982d
4 changed files with 52 additions and 7 deletions

View file

@ -26,11 +26,13 @@ private slots:
void addPhotosFromURL();
void removeAllPhotos();
void removeSelectedPhotos();
void recalculateSelectedThumbnails();
void changeZoomLevel(int delta);
private:
Ui::TabDivePhotos *ui;
DivePictureModel *divePictureModel;
QVector<QString> getSelectedFilenames() const;
};
#endif