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, 2 insertions, 2 deletions
diff --git a/qt-models/divepicturemodel.h b/qt-models/divepicturemodel.h
index 2d628f429..523d552e3 100644
--- a/qt-models/divepicturemodel.h
+++ b/qt-models/divepicturemodel.h
@@ -10,15 +10,15 @@
// We use std::string instead of QString to use the same character-encoding
// as in the C core (UTF-8). This is crucial to guarantee the same sort-order.
+struct dive;
struct PictureEntry {
- int diveId;
+ dive *d;
std::string filename;
QImage image;
int offsetSeconds;
duration_t length;
};
-struct dive;
class DivePictureModel : public QAbstractTableModel {
Q_OBJECT
public: