aboutsummaryrefslogtreecommitdiff
path: root/launcher/modplatform/flame
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2023-08-12 11:11:58 +0200
committerSefa Eyeoglu <contact@scrumplex.net>2023-08-12 11:11:58 +0200
commit019e5ca3e819f5daf9933bc0fb091784b0ca561f (patch)
tree1cbb33903c196c3d4b2a8ab9f72653fbd29be8e1 /launcher/modplatform/flame
parent6423edaa76c362ea9fd32a4a0ddeda78e06793db (diff)
downloadPrismLauncher-019e5ca3e819f5daf9933bc0fb091784b0ca561f.tar.gz
PrismLauncher-019e5ca3e819f5daf9933bc0fb091784b0ca561f.tar.bz2
PrismLauncher-019e5ca3e819f5daf9933bc0fb091784b0ca561f.zip
fix: use ApiDownload for CF URL handling
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
Diffstat (limited to 'launcher/modplatform/flame')
-rw-r--r--launcher/modplatform/flame/FlameAPI.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/modplatform/flame/FlameAPI.cpp b/launcher/modplatform/flame/FlameAPI.cpp
index 2871f06a..93d3b76a 100644
--- a/launcher/modplatform/flame/FlameAPI.cpp
+++ b/launcher/modplatform/flame/FlameAPI.cpp
@@ -208,7 +208,7 @@ Task::Ptr FlameAPI::getFile(const QString& addonId, const QString& fileId, std::
{
auto netJob = makeShared<NetJob>(QString("Flame::GetFile"), APPLICATION->network());
netJob->addNetAction(
- Net::Download::makeByteArray(QUrl(QString("https://api.curseforge.com/v1/mods/%1/files/%2").arg(addonId, fileId)), response));
+ Net::ApiDownload::makeByteArray(QUrl(QString("https://api.curseforge.com/v1/mods/%1/files/%2").arg(addonId, fileId)), response));
QObject::connect(netJob.get(), &NetJob::failed, [addonId, fileId] { qDebug() << "Flame API file failure" << addonId << fileId; });