Cleanup: Make helper function haveHash() of static linkage
The function is only used in the qthelper.cpp translation unit. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
eaff0ddee7
commit
f8835751dc
@ -1160,7 +1160,7 @@ void learnHash(struct picture *picture, QByteArray hash)
|
||||
picture->hash = strdup(hash.toHex());
|
||||
}
|
||||
|
||||
bool haveHash(const QString &filename)
|
||||
static bool haveHash(const QString &filename)
|
||||
{
|
||||
QMutexLocker locker(&hashOfMutex);
|
||||
return hashOf.contains(filename);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user