Many filenames are const strings

So we can use string constants for those

Signed-off-by: Robert C. Helling <helling@atdotde.de>
This commit is contained in:
Robert C. Helling 2017-02-21 10:00:16 +01:00 committed by Dirk Hohndel
parent 508387b1e1
commit dbd99f706e
4 changed files with 11 additions and 11 deletions

View file

@ -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);