diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-03-10 16:36:20 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-05-13 13:52:35 -0700 |
commit | afe20ce029a0194e1a8e9e8fbc6f32da1cfdec75 (patch) | |
tree | 2f90f07b65577067996c2be3c6e30c14b37df71e /qt-models/divepicturemodel.h | |
parent | 3967b1fd4d6ed2191daf12816d2cee1949c21d0b (diff) | |
download | subsurface-afe20ce029a0194e1a8e9e8fbc6f32da1cfdec75.tar.gz |
Dive pictures: Update pictures when thumbnails are ready
Connect the thumbnailer signal to the dive picture model slot.
This needs some code-reshuffling in the dive picture model.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'qt-models/divepicturemodel.h')
-rw-r--r-- | qt-models/divepicturemodel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-models/divepicturemodel.h b/qt-models/divepicturemodel.h index 443be4a0e..0839630bd 100644 --- a/qt-models/divepicturemodel.h +++ b/qt-models/divepicturemodel.h @@ -26,6 +26,7 @@ public: int rowDDStart, rowDDEnd; public slots: void setZoomLevel(int level); + void updateThumbnail(QString filename, QImage thumbnail); private: DivePictureModel(); QList<PictureEntry> pictures; |