From c16405e8564bc5c0435971c1c6da87e5147db0b9 Mon Sep 17 00:00:00 2001 From: "Robert C. Helling" Date: Mon, 2 Mar 2015 16:17:51 +0100 Subject: [PATCH 2/3] Correct signature of helper function Signed-off-by: Robert C. Helling --- qthelper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qthelper.h b/qthelper.h index 8b553ba..113aee3 100644 --- a/qthelper.h +++ b/qthelper.h @@ -22,7 +22,7 @@ void write_hashes(); 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 add_hash(const QString filename, QByteArray hash); QString localFilePath(const QString originalFilename); QString fileFromHash(char *hash); #endif // QTHELPER_H -- 1.9.3 (Apple Git-50)