remove flist.txt after calc md5sum

This commit is contained in:
notify 2023-03-06 09:58:16 +08:00
parent 36ea9ac848
commit 0ad2f35783
1 changed files with 1 additions and 0 deletions

View File

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