diff options
Diffstat (limited to 'api/logic/minecraft/AssetsUtils.cpp')
-rw-r--r-- | api/logic/minecraft/AssetsUtils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/logic/minecraft/AssetsUtils.cpp b/api/logic/minecraft/AssetsUtils.cpp index ad864d51..5191e5bd 100644 --- a/api/logic/minecraft/AssetsUtils.cpp +++ b/api/logic/minecraft/AssetsUtils.cpp @@ -199,7 +199,7 @@ NetActionPtr AssetObject::getDownloadAction() auto rawHash = QByteArray::fromHex(hash.toLatin1()); objectDL->addValidator(new Net::ChecksumValidator(QCryptographicHash::Sha1, rawHash)); } - objectDL->setProgress(0, size); + objectDL->m_total_progress = size; return objectDL; } return nullptr; |