From b43ab454935e7df48a32897ca193205df8a7ea52 Mon Sep 17 00:00:00 2001 From: LostDragonist Date: Tue, 12 Feb 2019 02:28:42 -0600 Subject: Fix display of file names when querying info --- src/downloadmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.3.1