mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +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());
|
picture->hash = strdup(hash.toHex());
|
||||||
}
|
}
|
||||||
|
|
||||||
bool haveHash(const QString &filename)
|
static bool haveHash(const QString &filename)
|
||||||
{
|
{
|
||||||
QMutexLocker locker(&hashOfMutex);
|
QMutexLocker locker(&hashOfMutex);
|
||||||
return hashOf.contains(filename);
|
return hashOf.contains(filename);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue