summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Rimpo <jeremy.rimpo@servermonkey.com>2026-05-02 10:45:09 -0500
committerGitHub <noreply@github.com>2026-05-02 10:45:09 -0500
commit2e393aa3cc9adba5a5e82ecc0006b11bf024d3e0 (patch)
tree3360fc0f0cac1117a633947d3b7f85913a4d24d8
parentdc420a258adfc9cf7a73cdec3826f9b2db8ae48d (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.cpp8
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());