diff options
| author | Jeremy Rimpo <jeremy.rimpo@servermonkey.com> | 2018-02-07 14:08:17 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-02-07 14:08:17 -0600 |
| commit | 28b0411ccaec2ca39685c9b6931fa46e09d484fb (patch) | |
| tree | 68474702fd42ef478cf131434a19313655d4af2e /src/downloadmanager.cpp | |
| parent | 8c34131bb84aa47dc2bfa8ced1a130cacabba725 (diff) | |
| parent | d6b645413c3d3f20ad0f554a1f106206886b3a83 (diff) | |
Merge pull request #219 from Al12rs/new_vfs_library
Fixed customOverwrite, reverted nxm handler commit, added a few menu options.
Diffstat (limited to 'src/downloadmanager.cpp')
| -rw-r--r-- | src/downloadmanager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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;
}
|
