diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-05-27 15:42:22 +0200 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2018-05-27 23:08:12 +0300 |
commit | 308e079ad6414152fe72ba0784582734d6801b75 (patch) | |
tree | 2add927a9dd6d4e967c754f1ce4533444deddcf8 /desktop-widgets/preferences/preferences_graph.ui | |
parent | 23d38a982deafb6ef12f597a355dc4eae24b832f (diff) | |
download | subsurface-308e079ad6414152fe72ba0784582734d6801b75.tar.gz |
Dive pictures: automatically recalculate thumbnails
If a thumbnail and the original picture can be accessed and the
modification date of the thumbnail is before the modification date
of the picture, recalculate the thumbnail.
This causes more disk access and might give strange effects for
picture files with messed up file timestamps (i.e. lying in the
future) or messed up computer clocks (i.e. running in the past).
Therefore, add a preference option to disable the new behavior.
Default is set to enabled.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/preferences/preferences_graph.ui')
-rw-r--r-- | desktop-widgets/preferences/preferences_graph.ui | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/desktop-widgets/preferences/preferences_graph.ui b/desktop-widgets/preferences/preferences_graph.ui index 020ae498f..a7553c990 100644 --- a/desktop-widgets/preferences/preferences_graph.ui +++ b/desktop-widgets/preferences/preferences_graph.ui @@ -368,6 +368,13 @@ </property> </widget> </item> + <item row="2" column="0" colspan="2"> + <widget class="QCheckBox" name="auto_recalculate_thumbnails"> + <property name="text"> + <string>Recalculate thumbnails if older than image</string> + </property> + </widget> + </item> </layout> </widget> </item> |