summaryrefslogtreecommitdiffstats
path: root/core/qthelper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/qthelper.cpp')
-rw-r--r--core/qthelper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/qthelper.cpp b/core/qthelper.cpp
index 6916b1a68..262399a5f 100644
--- a/core/qthelper.cpp
+++ b/core/qthelper.cpp
@@ -1163,7 +1163,7 @@ QString localFilePath(const QString originalFilename)
QString fileFromHash(const char *hash)
{
- if (!hash || !*hash)
+ if (empty_string(hash))
return "";
QMutexLocker locker(&hashOfMutex);