NOISSUE take forge xz download url base from the metadata file

Instead of hardcoding it.
This commit is contained in:
Petr Mrázek
2018-11-04 13:41:21 +01:00
parent 58260da861
commit 8a7f1e405f
3 changed files with 6 additions and 6 deletions

View File

@ -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;