allways enable dependencies

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
Trial97 2023-10-15 21:22:59 +03:00
parent fe14e48d72
commit 0ff98c5876
No known key found for this signature in database
GPG Key ID: 55EF5DA53DB36318

View File

@ -220,8 +220,8 @@ void ModUpdateDialog::checkCandidates()
changelog = api.getModFileChangelog(dep->version.addonId.toInt(), dep->version.fileId.toInt());
auto download_task = makeShared<ResourceDownloadTask>(dep->pack, dep->version, m_mod_model);
CheckUpdateTask::UpdatableMod updatable = {
dep->pack->name, dep->version.hash, "", dep->version.version, dep->version.version_type,
changelog, dep->pack->provider, download_task
dep->pack->name, dep->version.hash, "", dep->version.version, dep->version.version_type, changelog, true,
dep->pack->provider, download_task
};
appendMod(updatable, getRequiredBy.value(dep->version.addonId.toString()));