mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-02-09 08:18:49 +01:00
TagReaderTest: Remove use of deprecated QCryptographicHash constructor
This commit is contained in:
parent
6afbc71b4a
commit
16ac9ea061
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user