mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 19:03:23 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue