summaryrefslogtreecommitdiffstats
path: root/subsurface-core/imagedownloader.h
diff options
context:
space:
mode:
Diffstat (limited to 'subsurface-core/imagedownloader.h')
-rw-r--r--subsurface-core/imagedownloader.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/subsurface-core/imagedownloader.h b/subsurface-core/imagedownloader.h
index cd85c9509..f4e3df875 100644
--- a/subsurface-core/imagedownloader.h
+++ b/subsurface-core/imagedownloader.h
@@ -14,11 +14,13 @@ class ImageDownloader : public QObject {
Q_OBJECT;
public:
ImageDownloader(struct picture *picture);
+ ~ImageDownloader();
void load(bool fromHash);
private:
struct picture *picture;
QNetworkAccessManager manager;
+ bool loadFromHash;
private slots:
void saveImage(QNetworkReply *reply);