summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLostDragonist <lost.dragonist@gmail.com>2019-02-12 02:28:42 -0600
committerSilarn <jrim@rimpo.org>2019-02-18 21:31:21 -0600
commitb43ab454935e7df48a32897ca193205df8a7ea52 (patch)
treee1ad2066976690cc1dea036645212c2bf3a4a7ef /src
parentec0a0a2bebb017e769c02b5de00db80f15ba6cfd (diff)
Fix display of file names when querying info
Diffstat (limited to 'src')
-rw-r--r--src/downloadmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/downloadmanager.cpp b/src/downloadmanager.cpp
index df69d17a..fa10df0c 100644
--- a/src/downloadmanager.cpp
+++ b/src/downloadmanager.cpp
@@ -1491,7 +1491,7 @@ void DownloadManager::nxmFilesAvailable(QString, int, QVariant userData, QVarian
emit showMessage(tr("No matching file found on Nexus! Maybe this file is no longer available or it was renamed?"));
} else {
SelectionDialog selection(tr("No file on Nexus matches the selected file by name. Please manually choose the correct one."));
- for (QVariant file : result) {
+ for (QVariant file : files) {
QVariantMap fileInfo = file.toMap();
if (fileInfo["category_id"].toInt() != 6)
selection.addChoice(fileInfo["file_name"].toString(), "", file);