From 6b3b50cc2f8083ebbc013c1d270c1ec1d1252a23 Mon Sep 17 00:00:00 2001 From: "Robert C. Helling" Date: Mon, 2 Mar 2015 16:18:16 +0100 Subject: Load remote images When loading an image by filename and by hash fails, try to interpret the filename as URL and download the image. Signed-off-by: Robert C. Helling Signed-off-by: Dirk Hohndel --- qthelper.h | 1 + 1 file changed, 1 insertion(+) (limited to 'qthelper.h') diff --git a/qthelper.h b/qthelper.h index 113aee370..b0765aeda 100644 --- a/qthelper.h +++ b/qthelper.h @@ -25,4 +25,5 @@ void learnImages(const QDir dir, int max_recursions, bool recursed); void add_hash(const QString filename, QByteArray hash); QString localFilePath(const QString originalFilename); QString fileFromHash(char *hash); +void learnHash(struct picture *picture, QByteArray hash); #endif // QTHELPER_H -- cgit v1.2.3-70-g09d2