mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
Don't use new Qt method
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
parent
3ee45691ab
commit
85613cfadc
1 changed files with 1 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue