mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
f265504dab
commit
23d38a982d
4 changed files with 52 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue