diff --git a/src/core/util.cpp b/src/core/util.cpp index c87b6c9b..ad806b72 100644 --- a/src/core/util.cpp +++ b/src/core/util.cpp @@ -205,6 +205,7 @@ QString calcFileMD5() { flist.close(); flist.open(QIODevice::ReadOnly); auto ret = QCryptographicHash::hash(flist.readAll(), QCryptographicHash::Md5); + flist.remove(); // delete flist.txt flist.close(); return ret.toHex(); }