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>
This commit is contained in:
Berthold Stoeger 2018-03-10 16:36:20 +01:00 committed by Dirk Hohndel
parent 3967b1fd4d
commit afe20ce029
3 changed files with 14 additions and 0 deletions

View file

@ -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;