diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-02-16 22:45:41 +0100 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2018-03-05 18:04:57 +0200 |
commit | f8835751dccdf33a0150993f2fb9a2656bb8b973 (patch) | |
tree | cac8df1e32a301a05c243e1cfb0be0229f60ff69 /core/qthelper.cpp | |
parent | eaff0ddee73d8fa0569d06a79716bf2bb8dffd31 (diff) | |
download | subsurface-f8835751dccdf33a0150993f2fb9a2656bb8b973.tar.gz |
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>
Diffstat (limited to 'core/qthelper.cpp')
-rw-r--r-- | core/qthelper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/qthelper.cpp b/core/qthelper.cpp index 798d98c20..30338a8cd 100644 --- a/core/qthelper.cpp +++ b/core/qthelper.cpp @@ -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); |