diff options
author | Robert C. Helling <helling@atdotde.de> | 2016-01-09 16:27:23 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-01-10 14:12:23 -0800 |
commit | 3ae6326847d84cddf633ff3b9ea5651a76e6d1ca (patch) | |
tree | 5a288e5821dbf4f3f031a16d769ed9b6f5135d2b /subsurface-core/qthelper.h | |
parent | 09c854fee030d7f2626a843c45f8e58a19bccb8c (diff) | |
download | subsurface-3ae6326847d84cddf633ff3b9ea5651a76e6d1ca.tar.gz |
Simplify image hashing logic
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-core/qthelper.h')
-rw-r--r-- | subsurface-core/qthelper.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/subsurface-core/qthelper.h b/subsurface-core/qthelper.h index 842e40c36..09073e25b 100644 --- a/subsurface-core/qthelper.h +++ b/subsurface-core/qthelper.h @@ -25,6 +25,7 @@ void updateHash(struct picture *picture); QByteArray hashFile(const QString filename); void learnImages(const QDir dir, int max_recursions, bool recursed); void add_hash(const QString filename, QByteArray hash); +void hashPicture(struct picture *picture); QString localFilePath(const QString originalFilename); QString fileFromHash(char *hash); void learnHash(struct picture *picture, QByteArray hash); |