aboutsummaryrefslogtreecommitdiffstats
path: root/core/qthelper.cpp
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2017-12-18 11:11:35 +0100
committerGravatar Jan Mulder <jlmulder@xs4all.nl>2017-12-18 15:23:12 +0100
commit7b88f8301ec82d418d101f1ae1c3f9adf9186436 (patch)
tree5faade25ed4737d05b736f16981975a7fcb5074d /core/qthelper.cpp
parent48d9c8eb6eb07a38ec8ec2cee1eb144708624d6b (diff)
downloadsubsurface-7b88f8301ec82d418d101f1ae1c3f9adf9186436.tar.gz
Elevate "can't write hashes" message from debug to warning level
I never realized that my hashes weren't written, because it only outputs a debug instead of a warning message. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
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 d26d2eb4d..325c1bcd6 100644
--- a/core/qthelper.cpp
+++ b/core/qthelper.cpp
@@ -1108,7 +1108,7 @@ void write_hashes()
stream << thumbnailCache;
hashfile.commit();
} else {
- qDebug() << "cannot open" << hashfile.fileName();
+ qWarning() << "Cannot open hashfile for writing: " << hashfile.fileName();
}
}