diff options
| author | LostDragonist <lost.dragonist@gmail.com> | 2019-02-21 19:35:15 -0600 |
|---|---|---|
| committer | LostDragonist <lost.dragonist@gmail.com> | 2019-02-21 19:35:15 -0600 |
| commit | 8027fea6670e826a89f8738d3b592ca3d1fa76f0 (patch) | |
| tree | 10514156c4e6284cab9c12ea1e8844e0a8f997aa | |
| parent | 9dbac137ef235915d25142c4285e68925528eccc (diff) | |
Grab the description for downloads instead of the change log
| -rw-r--r-- | src/downloadmanager.cpp | 4 | ||||
| -rw-r--r-- | src/nexusinterface.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
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"; diff --git a/src/nexusinterface.cpp b/src/nexusinterface.cpp index 89b0bfde..0928f74a 100644 --- a/src/nexusinterface.cpp +++ b/src/nexusinterface.cpp @@ -94,7 +94,7 @@ void NexusBridge::nxmFilesAvailable(QString gameName, int modID, QVariant userDa QVariantMap fileInfo = file.toMap(); temp.uri = fileInfo["file_name"].toString(); temp.name = fileInfo["name"].toString(); - temp.description = BBCode::convertToHTML(fileInfo["changelog_html"].toString()); + temp.description = BBCode::convertToHTML(fileInfo["description"].toString()); temp.version = VersionInfo(fileInfo["version"].toString()); temp.categoryID = fileInfo["category_id"].toInt(); temp.fileID = fileInfo["file_id"].toInt(); |
