Fixed code error

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
Trial97 2023-05-05 00:04:24 +03:00
parent 107b470289
commit 469ef3e06d
No known key found for this signature in database
GPG Key ID: 55EF5DA53DB36318

View File

@ -134,7 +134,7 @@ QStringList getReqiredBy(QList<ResourceDownloadDialog::DownloadTaskPtr> tasks, Q
[addonId](const ModPlatform::Dependency& d) { [addonId](const ModPlatform::Dependency& d) {
return d.addonId == addonId && d.type == ModPlatform::DependencyType::REQUIRED; return d.addonId == addonId && d.type == ModPlatform::DependencyType::REQUIRED;
}); });
dep) { dep != deps.end()) {
req.append(task->getName()); req.append(task->getName());
} }
} }