fix: use correct hash_type when creating metadata

also fix: wrong parameter name in LocalModUpdateTask's constructor
also fix: correct hash_format in CF
This commit is contained in:
flow 2022-05-07 10:27:01 -03:00 committed by flow
parent 0985adfd74
commit 3a923060ce
No known key found for this signature in database
GPG Key ID: 8D0F221F0A59F469

View File

@ -10,7 +10,7 @@ class LocalModUpdateTask : public Task {
public:
using Ptr = shared_qobject_ptr<LocalModUpdateTask>;
explicit LocalModUpdateTask(QDir mods_dir, ModPlatform::IndexedPack& mod, ModPlatform::IndexedVersion& mod_version);
explicit LocalModUpdateTask(QDir index_dir, ModPlatform::IndexedPack& mod, ModPlatform::IndexedVersion& mod_version);
auto canAbort() const -> bool override { return true; }
auto abort() -> bool override;