aboutsummaryrefslogtreecommitdiffstats
path: root/qt-models/divepicturemodel.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2017-12-10 00:17:57 +0100
committerGravatar Robert C. Helling <helling@atdotde.de>2017-12-10 15:00:53 +0100
commit92ad7865d0f5269bfe12471b062fbda3bb373b7f (patch)
tree2e799a5cb764b1349e572bdcc3f4b83f1d954dec /qt-models/divepicturemodel.h
parentc73828d6055db664354ae5d1b2637d379294ef8a (diff)
downloadsubsurface-92ad7865d0f5269bfe12471b062fbda3bb373b7f.tar.gz
Make thumbnail code threadsafe
The thumbnailing in qt-models/divepicturemodel.cpp was performed concurrently, but the thumbnailCache was not protected from races. Resolve this by guarding the thumbnalCache accesses with mutexes. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'qt-models/divepicturemodel.h')
0 files changed, 0 insertions, 0 deletions