summaryrefslogtreecommitdiffstats
path: root/qt-models/divepicturemodel.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-06-30 12:55:55 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-07-13 17:07:22 -0700
commit0aaa1bf3862901933ed68c15a38fed9dc4c621a4 (patch)
tree191f7833c73d1f428f0437336c023f320180c281 /qt-models/divepicturemodel.h
parentb2422f88569a2bba50db74835fcd09dd5b070ec9 (diff)
downloadsubsurface-0aaa1bf3862901933ed68c15a38fed9dc4c621a4.tar.gz
Dive pictures: update thumbnail positions on deletion
If pictures were deleted, the remaining thumbails where staying at their positions. Only when switching between dives, the new positions were recalculated. Do the recalculation immediately. More precisely: the x-coordinate, which is determined by the timestamp, stays identical. Only the y-coordinate is recalculated such that overlapping of thumbnails is avoided. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-models/divepicturemodel.h')
0 files changed, 0 insertions, 0 deletions