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