From 23d38a982deafb6ef12f597a355dc4eae24b832f Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sun, 27 May 2018 14:03:29 +0200 Subject: 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 --- desktop-widgets/tab-widgets/TabDivePhotos.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'desktop-widgets/tab-widgets/TabDivePhotos.h') diff --git a/desktop-widgets/tab-widgets/TabDivePhotos.h b/desktop-widgets/tab-widgets/TabDivePhotos.h index e2e7aa05c..a752fef19 100644 --- a/desktop-widgets/tab-widgets/TabDivePhotos.h +++ b/desktop-widgets/tab-widgets/TabDivePhotos.h @@ -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 getSelectedFilenames() const; }; #endif -- cgit v1.2.3-70-g09d2