Use asset sizes from the index to make the progress bar better
This commit is contained in:
parent
ae169abd74
commit
5a3043398e
12 changed files with 70 additions and 266 deletions
|
@ -243,6 +243,7 @@ void OneSixUpdate::assetIndexFinished()
|
|||
auto objectDL = MD5EtagDownload::make(
|
||||
QUrl("http://" + URLConstants::RESOURCE_BASE + objectName),
|
||||
objectFile.filePath());
|
||||
objectDL->m_total_progress = object.size;
|
||||
dls.append(objectDL);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue