mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
508387b1e1
commit
dbd99f706e
4 changed files with 11 additions and 11 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue