Don't use new Qt method

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
Octol1ttle 2026-04-17 11:12:46 +05:00 committed by GitHub
parent 3ee45691ab
commit 85613cfadc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -71,8 +71,7 @@ class ChecksumValidator : public Validator {
auto validate(QNetworkReply& reply) -> bool override
{
if (!m_expected.isEmpty() && m_expected != hash()) {
qWarning() << "Checksum mismatch for URL:" << reply.url().toString() << "expected:" << m_expected << "got:" << hash()
<< "algorithm:" << m_checksum.algorithm();
qWarning() << "Checksum mismatch for URL:" << reply.url().toString() << "expected:" << m_expected << "got:" << hash();
return false;
}
return true;