mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-03 20:06:58 +03:00
Don't use new Qt method
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
(cherry picked from commit 85613cfadc)
This commit is contained in:
parent
48c1476845
commit
f6f661c952
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