summaryrefslogtreecommitdiffstats
path: root/qt-models/divepicturemodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-models/divepicturemodel.h')
-rw-r--r--qt-models/divepicturemodel.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/qt-models/divepicturemodel.h b/qt-models/divepicturemodel.h
index 6dc633fb2..3bd872d6a 100644
--- a/qt-models/divepicturemodel.h
+++ b/qt-models/divepicturemodel.h
@@ -2,6 +2,8 @@
#ifndef DIVEPICTUREMODEL_H
#define DIVEPICTUREMODEL_H
+#include "core/units.h"
+
#include <QAbstractTableModel>
#include <QImage>
#include <QFuture>
@@ -28,7 +30,7 @@ signals:
void picturesRemoved(const QVector<QString> &fileUrls);
public slots:
void setZoomLevel(int level);
- void updateThumbnail(QString filename, QImage thumbnail);
+ void updateThumbnail(QString filename, QImage thumbnail, duration_t duration);
private:
DivePictureModel();
QVector<PictureEntry> pictures;