summaryrefslogtreecommitdiffstats
path: root/qt-models
diff options
context:
space:
mode:
Diffstat (limited to 'qt-models')
-rw-r--r--qt-models/divepicturemodel.cpp1
-rw-r--r--qt-models/divepicturemodel.h7
2 files changed, 1 insertions, 7 deletions
diff --git a/qt-models/divepicturemodel.cpp b/qt-models/divepicturemodel.cpp
index bb5db33b7..55f20cef9 100644
--- a/qt-models/divepicturemodel.cpp
+++ b/qt-models/divepicturemodel.cpp
@@ -2,6 +2,7 @@
#include "dive.h"
#include "metrics.h"
#include "divelist.h"
+#include "imagedownloader.h"
#include <QtConcurrent>
diff --git a/qt-models/divepicturemodel.h b/qt-models/divepicturemodel.h
index 7390fc5eb..18a96d893 100644
--- a/qt-models/divepicturemodel.h
+++ b/qt-models/divepicturemodel.h
@@ -5,13 +5,6 @@
#include <QImage>
#include <QFuture>
-typedef QPair<QString, QByteArray> SHashedFilename;
-
-class SHashedImage : public QImage {
-public:
- SHashedImage(struct picture *picture);
-};
-
struct PhotoHelper {
QImage image;
int offsetSeconds;