From d6b645413c3d3f20ad0f554a1f106206886b3a83 Mon Sep 17 00:00:00 2001 From: Al12rs Date: Sat, 27 Jan 2018 12:28:56 +0100 Subject: Revert "Fixed nexus link handling to use gameNexusName() instead of gameShortName()." This reverts commit ca54760c13fbbb6ff685e04ef11ed5592823680c. --- 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 593c754a..cb954ebe 100644 --- a/src/downloadmanager.cpp +++ b/src/downloadmanager.cpp @@ -451,7 +451,7 @@ void DownloadManager::addNXMDownload(const QString &url) { NXMUrl nxmInfo(url); - QString managedGame = m_ManagedGame->gameNexusName(); + QString managedGame = m_ManagedGame->gameShortName(); qDebug("add nxm download: %s", qPrintable(url)); if (nxmInfo.game().compare(managedGame, Qt::CaseInsensitive) != 0) { qDebug("download requested for wrong game (game: %s, url: %s)", qPrintable(managedGame), qPrintable(nxmInfo.game())); @@ -1246,7 +1246,7 @@ int DownloadManager::startDownloadURLs(const QStringList &urls) int DownloadManager::startDownloadNexusFile(int modID, int fileID) { int newID = m_ActiveDownloads.size(); - addNXMDownload(QString("nxm://%1/mods/%2/files/%3").arg(m_ManagedGame->gameNexusName()).arg(modID).arg(fileID)); + addNXMDownload(QString("nxm://%1/mods/%2/files/%3").arg(m_ManagedGame->gameShortName()).arg(modID).arg(fileID)); return newID; } -- cgit v1.3.1