summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/tab-widgets/TabDivePhotos.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-05-27 14:03:29 +0200
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2018-05-27 23:08:12 +0300
commit23d38a982deafb6ef12f597a355dc4eae24b832f (patch)
tree33865a026165644973d736b6cc7b3ec602d3b056 /desktop-widgets/tab-widgets/TabDivePhotos.h
parentf265504dabf4a7cafa0282e034919007d663f4f0 (diff)
downloadsubsurface-23d38a982deafb6ef12f597a355dc4eae24b832f.tar.gz
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>
Diffstat (limited to 'desktop-widgets/tab-widgets/TabDivePhotos.h')
-rw-r--r--desktop-widgets/tab-widgets/TabDivePhotos.h2
1 files changed, 2 insertions, 0 deletions
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<QString> getSelectedFilenames() const;
};
#endif