Don't use new Qt method

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
(cherry picked from commit 85613cfadc)
This commit is contained in:
Octol1ttle 2026-04-17 11:12:46 +05:00 committed by github-actions[bot]
parent 48c1476845
commit f6f661c952

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;