aboutsummaryrefslogtreecommitdiffstats
path: root/qt-models/divepicturemodel.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-06 10:39:59 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-06 11:30:11 -0800
commit9edb4f3fa91b3907809375794d75a1b1a77c94a0 (patch)
treecd3b194081d0b928c5cb56aed0df7b9bc469fdd7 /qt-models/divepicturemodel.h
parentbb566f7798f1bc7fe8e4d40813823dca0f6ea9a3 (diff)
downloadsubsurface-9edb4f3fa91b3907809375794d75a1b1a77c94a0.tar.gz
Move ImageDownloader out of the desktop widgets
This required a bit more untangling, but with this it seems we can build subsurface-mobile again (at least on the desktop). Interesting is the removal from inside the ImageDownloader of the call to DivePictureModel::instance()->updateDivePictures() - which actually could cause some interesting recursion issues. If it turns out we did indeed need this, it needs to be re-architected. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-models/divepicturemodel.h')
-rw-r--r--qt-models/divepicturemodel.h7
1 files changed, 0 insertions, 7 deletions
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;