From 8cd807c2d6f4f98b8de5b48ed6595a33edce8ce8 Mon Sep 17 00:00:00 2001 From: Evan Goode Date: Sat, 11 Jan 2025 19:37:53 -0500 Subject: [PATCH] Fix FetchFlameAPIKey compile error --- launcher/net/FetchFlameAPIKey.cpp | 2 +- launcher/net/FetchFlameAPIKey.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/launcher/net/FetchFlameAPIKey.cpp b/launcher/net/FetchFlameAPIKey.cpp index 30b814d4b..2aa03ab37 100644 --- a/launcher/net/FetchFlameAPIKey.cpp +++ b/launcher/net/FetchFlameAPIKey.cpp @@ -24,7 +24,7 @@ #include #include -FetchFlameAPIKey::FetchFlameAPIKey(QObject* parent) : Task{ parent } {} +FetchFlameAPIKey::FetchFlameAPIKey() : Task{} {} // Here, we fetch the official CurseForge API key from the files of the // CurseForge app. We range-request the specific ~84KiB zlib block inside the diff --git a/launcher/net/FetchFlameAPIKey.h b/launcher/net/FetchFlameAPIKey.h index cf171a7c4..e8f974cc7 100644 --- a/launcher/net/FetchFlameAPIKey.h +++ b/launcher/net/FetchFlameAPIKey.h @@ -26,7 +26,7 @@ class FetchFlameAPIKey : public Task { Q_OBJECT public: - explicit FetchFlameAPIKey(QObject* parent = nullptr); + explicit FetchFlameAPIKey(); QString m_result;