Basic CLI support

Closes #221
This commit is contained in:
Floris Bos 2021-05-06 01:47:34 +02:00
parent 258f9d77aa
commit 62e9969afb
9 changed files with 307 additions and 10 deletions

View file

@ -747,8 +747,8 @@ bool DownloadThread::_verify()
}
qFreeAligned(verifyBuf);
qDebug() << "Verify done in" << t1.elapsed() / 1000.0 << "seconds";
qDebug() << "Verify hash:" << _verifyhash.result().toHex();
qDebug() << "Verify done in" << t1.elapsed() / 1000.0 << "seconds";
if (_verifyhash.result() == _writehash.result() || !_verifyEnabled || _cancelled)
{