NOISSUE refactor NetAction to be based on Task
Still missing some things, this is part 1.
This commit is contained in:
parent
243f7e4fb4
commit
e1465f4848
42 changed files with 299 additions and 314 deletions
|
@ -199,7 +199,7 @@ NetActionPtr AssetObject::getDownloadAction()
|
|||
auto rawHash = QByteArray::fromHex(hash.toLatin1());
|
||||
objectDL->addValidator(new Net::ChecksumValidator(QCryptographicHash::Sha1, rawHash));
|
||||
}
|
||||
objectDL->m_total_progress = size;
|
||||
objectDL->setProgress(0, size);
|
||||
return objectDL;
|
||||
}
|
||||
return nullptr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue