diff options
Diffstat (limited to 'core/qthelper.h')
-rw-r--r-- | core/qthelper.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/qthelper.h b/core/qthelper.h index 4d39ad368..24215d43f 100644 --- a/core/qthelper.h +++ b/core/qthelper.h @@ -27,7 +27,7 @@ void learnImages(const QDir dir, int max_recursions); void add_hash(const QString filename, QByteArray hash); void hashPicture(struct picture *picture); QString localFilePath(const QString originalFilename); -QString fileFromHash(char *hash); +QString fileFromHash(const char *hash); void learnHash(struct picture *picture, QByteArray hash); extern "C" void cache_picture(struct picture *picture); weight_t string_to_weight(const char *str); |