diff options
| author | Jeremy Rimpo <jeremy.rimpo@servermonkey.com> | 2026-05-02 10:45:09 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-02 10:45:09 -0500 |
| commit | 2e393aa3cc9adba5a5e82ecc0006b11bf024d3e0 (patch) | |
| tree | 3360fc0f0cac1117a633947d3b7f85913a4d24d8 | |
| parent | dc420a258adfc9cf7a73cdec3826f9b2db8ae48d (diff) | |
Handle Nexus collections links (#2383)
- Pops up dialog when the NXM link is a collection
- Collection link data available, though still unsupported
| -rw-r--r-- | src/downloadmanager.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/downloadmanager.cpp b/src/downloadmanager.cpp index ce6ba665..60347762 100644 --- a/src/downloadmanager.cpp +++ b/src/downloadmanager.cpp @@ -676,6 +676,14 @@ void DownloadManager::addNXMDownload(const QString& url) { NXMUrl nxmInfo(url); + if (nxmInfo.isCollection()) { + QString collectionStr( + tr("This is a Nexus collections link. These are not yet supported by MO.")); + QMessageBox::information(m_ParentWidget, tr("Collections Not Supported"), + collectionStr, QMessageBox::Ok); + return; + } + QStringList validGames; MOBase::IPluginGame* foundGame = nullptr; validGames.append(m_ManagedGame->gameShortName()); |
