mirror of
https://github.com/PrismLauncher/PrismLauncher
synced 2026-04-23 09:05:03 +00:00
Don't use new Qt method
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
parent
3ee45691ab
commit
85613cfadc
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue