summaryrefslogtreecommitdiff
path: root/src/downloadmanagerproxy.cpp
diff options
context:
space:
mode:
authorJonathan Feenstra <26406078+JonathanFeenstra@users.noreply.github.com>2025-01-02 14:10:53 +0100
committerGitHub <noreply@github.com>2025-01-02 14:10:53 +0100
commit9049e65c5e1f29792b596a8e84a749d2de7ea792 (patch)
tree1741d9b7b88f8b31af3e624ab720e14bad826728 /src/downloadmanagerproxy.cpp
parentf8340e16201c214eef5327c4e810432e12b23805 (diff)
Add startDownloadNexusFileForGame (#2181)
Diffstat (limited to 'src/downloadmanagerproxy.cpp')
-rw-r--r--src/downloadmanagerproxy.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/downloadmanagerproxy.cpp b/src/downloadmanagerproxy.cpp
index ab4ed83b..3d7040d8 100644
--- a/src/downloadmanagerproxy.cpp
+++ b/src/downloadmanagerproxy.cpp
@@ -43,7 +43,14 @@ int DownloadManagerProxy::startDownloadURLs(const QStringList& urls)
int DownloadManagerProxy::startDownloadNexusFile(int modID, int fileID)
{
- return m_Proxied->startDownloadNexusFile(modID, fileID);
+ return m_Proxied->startDownloadNexusFile(
+ m_OrganizerProxy->managedGame()->gameNexusName(), modID, fileID);
+}
+
+int DownloadManagerProxy::startDownloadNexusFileForGame(const QString& gameName,
+ int modID, int fileID)
+{
+ return m_Proxied->startDownloadNexusFile(gameName, modID, fileID);
}
QString DownloadManagerProxy::downloadPath(int id)