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>
This commit is contained in:
Berthold Stoeger 2017-12-18 11:11:35 +01:00 committed by Jan Mulder
parent 48d9c8eb6e
commit 7b88f8301e

View file

@ -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();
}
}