mirror of
https://github.com/Qsgs-Fans/FreeKill.git
synced 2024-11-16 03:32:34 +08:00
remove flist.txt after calc md5sum
This commit is contained in:
parent
36ea9ac848
commit
0ad2f35783
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user