TagReaderTest: Remove use of deprecated QCryptographicHash constructor

This commit is contained in:
Jonas Kvinge
2022-07-10 19:08:43 +02:00
parent 6afbc71b4a
commit 16ac9ea061

View File

@@ -86,7 +86,7 @@ class TagReaderTest : public ::testing::Test {
qint64 bytes_read = qMin(file.bytesAvailable(), 8192LL);
buffer = file.read(bytes_read);
if (buffer.isEmpty()) break;
hash.addData(buffer, bytes_read);
hash.addData(buffer);
}
file.close();
return hash.result().toHex();