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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-models/divepicturemodel.h b/qt-models/divepicturemodel.h
index 427ab0158..6dc633fb2 100644
--- a/qt-models/divepicturemodel.h
+++ b/qt-models/divepicturemodel.h
@@ -7,6 +7,7 @@
#include <QFuture>
struct PictureEntry {
+ int diveId;
struct picture *picture;
QString filename;
QImage image;
@@ -22,7 +23,7 @@ public:
virtual int rowCount(const QModelIndex &parent = QModelIndex()) const;
virtual void updateDivePictures();
void removePictures(const QVector<QString> &fileUrls);
- void updateDivePictureOffset(const QString &filename, int offsetSeconds);
+ void updateDivePictureOffset(int diveId, const QString &filename, int offsetSeconds);
signals:
void picturesRemoved(const QVector<QString> &fileUrls);
public slots: