From 8027fea6670e826a89f8738d3b592ca3d1fa76f0 Mon Sep 17 00:00:00 2001 From: LostDragonist Date: Thu, 21 Feb 2019 19:35:15 -0600 Subject: Grab the description for downloads instead of the change log --- src/downloadmanager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/downloadmanager.cpp') diff --git a/src/downloadmanager.cpp b/src/downloadmanager.cpp index f1105581..41dd4dd0 100644 --- a/src/downloadmanager.cpp +++ b/src/downloadmanager.cpp @@ -1526,7 +1526,7 @@ void DownloadManager::nxmFilesAvailable(QString, int, QVariant userData, QVarian info->m_FileInfo->fileTime = QDateTime::fromMSecsSinceEpoch(fileInfo["uploaded_timestamp"].toLongLong()); info->m_FileInfo->fileID = fileInfo["file_id"].toInt(); info->m_FileInfo->fileName = fileInfo["file_name"].toString(); - info->m_FileInfo->description = BBCode::convertToHTML(fileInfo["changelog_html"].toString()); + info->m_FileInfo->description = BBCode::convertToHTML(fileInfo["description"].toString()); found = true; break; } @@ -1585,7 +1585,7 @@ void DownloadManager::nxmFileInfoAvailable(QString gameName, int modID, int file info->fileName = result["file_name"].toString(); info->fileCategory = result["category_id"].toInt(); info->fileTime = QDateTime::fromMSecsSinceEpoch(result["uploaded_timestamp"].toLongLong()); - info->description = BBCode::convertToHTML(result["changelog_html"].toString()); + info->description = BBCode::convertToHTML(result["description"].toString()); info->repository = "Nexus"; -- cgit v1.3.1