diff options
author | flow <thiagodonato300@gmail.com> | 2022-03-06 13:54:05 -0300 |
---|---|---|
committer | flow <thiagodonato300@gmail.com> | 2022-03-06 13:54:55 -0300 |
commit | 5e9d49a91082c53907db84df809d21c3bdc8bcac (patch) | |
tree | a9b2c3163eb94e64ff1e72652bb911106cb7c202 /launcher/ui/pages/modplatform/modrinth/ModrinthPage.h | |
parent | 9a8599e4ba7e1df616d0e4b4a4a899792ecaa3e1 (diff) | |
download | PrismLauncher-5e9d49a91082c53907db84df809d21c3bdc8bcac.tar.gz PrismLauncher-5e9d49a91082c53907db84df809d21c3bdc8bcac.tar.bz2 PrismLauncher-5e9d49a91082c53907db84df809d21c3bdc8bcac.zip |
refactor: use only a single unique_ptr for the api
Diffstat (limited to 'launcher/ui/pages/modplatform/modrinth/ModrinthPage.h')
-rw-r--r-- | launcher/ui/pages/modplatform/modrinth/ModrinthPage.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/launcher/ui/pages/modplatform/modrinth/ModrinthPage.h b/launcher/ui/pages/modplatform/modrinth/ModrinthPage.h index 504f42ad..d92274dd 100644 --- a/launcher/ui/pages/modplatform/modrinth/ModrinthPage.h +++ b/launcher/ui/pages/modplatform/modrinth/ModrinthPage.h @@ -20,11 +20,7 @@ class ModrinthPage : public ModPage { inline QString metaEntryBase() const override { return "ModrinthPacks"; }; bool shouldDisplay() const override; - const ModAPI* apiProvider() const override { return &api; }; private: void onModVersionSucceed(ModPage*, QByteArray*, QString) override; - - private: - ModrinthAPI api; }; |