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;