diff options
author | Petr Mrázek <peterix@gmail.com> | 2018-11-04 13:41:21 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2018-11-04 13:41:21 +0100 |
commit | 8a7f1e405f0ac57adcff455d5ca00a5f08f10868 (patch) | |
tree | c48ba2065d7a8d5fc99070d12718d031a416d770 /api/logic/minecraft/forge/ForgeXzDownload.h | |
parent | 58260da861a51d503fa6fb08f67918cc8dddd36f (diff) | |
download | MultiMC-8a7f1e405f0ac57adcff455d5ca00a5f08f10868.tar MultiMC-8a7f1e405f0ac57adcff455d5ca00a5f08f10868.tar.gz MultiMC-8a7f1e405f0ac57adcff455d5ca00a5f08f10868.tar.lz MultiMC-8a7f1e405f0ac57adcff455d5ca00a5f08f10868.tar.xz MultiMC-8a7f1e405f0ac57adcff455d5ca00a5f08f10868.zip |
NOISSUE take forge xz download url base from the metadata file
Instead of hardcoding it.
Diffstat (limited to 'api/logic/minecraft/forge/ForgeXzDownload.h')
-rw-r--r-- | api/logic/minecraft/forge/ForgeXzDownload.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/api/logic/minecraft/forge/ForgeXzDownload.h b/api/logic/minecraft/forge/ForgeXzDownload.h index 728a7f7a..1ff7df97 100644 --- a/api/logic/minecraft/forge/ForgeXzDownload.h +++ b/api/logic/minecraft/forge/ForgeXzDownload.h @@ -35,10 +35,10 @@ public: QString m_url_path; public: - explicit ForgeXzDownload(QString relative_path, MetaEntryPtr entry); - static ForgeXzDownloadPtr make(QString relative_path, MetaEntryPtr entry) + explicit ForgeXzDownload(QString url, QString relative_path, MetaEntryPtr entry); + static ForgeXzDownloadPtr make(QString url, QString relative_path, MetaEntryPtr entry) { - return ForgeXzDownloadPtr(new ForgeXzDownload(relative_path, entry)); + return ForgeXzDownloadPtr(new ForgeXzDownload(url, relative_path, entry)); } virtual ~ForgeXzDownload(){}; bool canAbort() override; |