mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
Restore value change committed by mistake
This commit is contained in:
parent
3cd83eb31b
commit
a6696f35b2
@ -301,7 +301,7 @@ QString pseudoHash(const QFileInfo &fileInfo)
|
||||
QCryptographicHash crypto(QCryptographicHash::Sha1);
|
||||
QFile file(fileInfo.absoluteFilePath());
|
||||
file.open(QFile::ReadOnly);
|
||||
crypto.addData(file.read(52428));
|
||||
crypto.addData(file.read(524288));
|
||||
file.close();
|
||||
// hash Sha1 del primer 0.5MB + filesize
|
||||
return QString(crypto.result().toHex().constData()) + QString::number(fileInfo.size());
|
||||
|
Loading…
Reference in New Issue
Block a user