diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-03-10 14:15:50 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-05-13 13:52:35 -0700 |
commit | 3967b1fd4d6ed2191daf12816d2cee1949c21d0b (patch) | |
tree | 5ca6cd3ce7858053c7f4133e6eaa3522f444d332 /desktop-widgets/divepicturewidget.cpp | |
parent | f60343eebbf6a31a4643dde9f4454f6ce84f61d3 (diff) | |
download | subsurface-3967b1fd4d6ed2191daf12816d2cee1949c21d0b.tar.gz |
Dive pictures: Introduce thumbnailer class
Create a new class, which performs all thumbnailing code.
This is mostly code reshuffling. Thumbnails are extracted
either from a cache or thumbnail calculation is started in
a worker thread.
Since getHashedImage() is called from a worker thread it
makes no sense to call subfunctions in yet another worker
thread. Remove these calls.
In contrast to the previous code, on error the background
thread produces a failure image, but it is not yet shown.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/divepicturewidget.cpp')
0 files changed, 0 insertions, 0 deletions