diff options
| author | Jonathan Feenstra <26406078+JonathanFeenstra@users.noreply.github.com> | 2025-08-18 07:55:52 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-18 07:55:52 +0200 |
| commit | d52fcccb831b63dc1add068084369543d0a45246 (patch) | |
| tree | 3d3009a7e0ad3b477b64b349a1bdc7fd1e0d5f62 /src/mainwindow.cpp | |
| parent | 6c64236e2e7a8e2883b7656657e0fac329d5621b (diff) | |
Add author and uploader columns to mod list (#2269)
Diffstat (limited to 'src/mainwindow.cpp')
| -rw-r--r-- | src/mainwindow.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 90c7dec7..ce432196 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -3357,6 +3357,12 @@ void MainWindow::nxmModInfoAvailable(QString gameName, int modID, QVariant userD mod->setNexusCategory(result["category_id"].toInt()); + mod->setAuthor(result["author"].toString()); + + mod->setUploader(result["uploaded_by"].toString()); + + mod->setUploaderUrl(result["uploaded_users_profile_url"].toString()); + if ((mod->endorsedState() != EndorsedState::ENDORSED_NEVER) && (result.contains("endorsement"))) { QVariantMap endorsement = result["endorsement"].toMap(); |
