aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui
diff options
context:
space:
mode:
authorTrial97 <alexandru.tripon97@gmail.com>2023-05-05 00:04:24 +0300
committerTrial97 <alexandru.tripon97@gmail.com>2023-05-05 00:04:24 +0300
commit469ef3e06d93f9b00d7c23ac03f4eff07385e446 (patch)
tree7b874f0f4c4a88f23009d924363e9dcaf7ccb8ef /launcher/ui
parent107b4702895afdbaf9912006d91c910bb6634361 (diff)
downloadPrismLauncher-469ef3e06d93f9b00d7c23ac03f4eff07385e446.tar.gz
PrismLauncher-469ef3e06d93f9b00d7c23ac03f4eff07385e446.tar.bz2
PrismLauncher-469ef3e06d93f9b00d7c23ac03f4eff07385e446.zip
Fixed code error
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
Diffstat (limited to 'launcher/ui')
-rw-r--r--launcher/ui/dialogs/ResourceDownloadDialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/ui/dialogs/ResourceDownloadDialog.cpp b/launcher/ui/dialogs/ResourceDownloadDialog.cpp
index b65f2ffd..18106701 100644
--- a/launcher/ui/dialogs/ResourceDownloadDialog.cpp
+++ b/launcher/ui/dialogs/ResourceDownloadDialog.cpp
@@ -134,7 +134,7 @@ QStringList getReqiredBy(QList<ResourceDownloadDialog::DownloadTaskPtr> tasks, Q
[addonId](const ModPlatform::Dependency& d) {
return d.addonId == addonId && d.type == ModPlatform::DependencyType::REQUIRED;
});
- dep) {
+ dep != deps.end()) {
req.append(task->getName());
}
}