diff options
author | flow <thiagodonato300@gmail.com> | 2022-03-07 16:22:57 -0300 |
---|---|---|
committer | flow <thiagodonato300@gmail.com> | 2022-03-07 16:22:57 -0300 |
commit | f714adf6d2cc94f20ba37f2776d0d61e22267f0e (patch) | |
tree | a72a3f07b0edc45e8c07f97daa8b2786d7cf3ad3 /launcher/ui/pages/modplatform/modrinth/ModrinthModel.h | |
parent | 39bd04f06ff42623f7349096d707c4a877fc7cd7 (diff) | |
download | PrismLauncher-f714adf6d2cc94f20ba37f2776d0d61e22267f0e.tar.gz PrismLauncher-f714adf6d2cc94f20ba37f2776d0d61e22267f0e.tar.bz2 PrismLauncher-f714adf6d2cc94f20ba37f2776d0d61e22267f0e.zip |
refactor: move NetJob away from ModModel to ModAPI
This is done so that 1. ModAPI behaves more like an actual API instead
of just a helper, and 2. Allows for more easily creating other mod
providers that may or may not use network tasks (foreshadowing lol)
Diffstat (limited to 'launcher/ui/pages/modplatform/modrinth/ModrinthModel.h')
-rw-r--r-- | launcher/ui/pages/modplatform/modrinth/ModrinthModel.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/launcher/ui/pages/modplatform/modrinth/ModrinthModel.h b/launcher/ui/pages/modplatform/modrinth/ModrinthModel.h index b8937b50..d095b18c 100644 --- a/launcher/ui/pages/modplatform/modrinth/ModrinthModel.h +++ b/launcher/ui/pages/modplatform/modrinth/ModrinthModel.h @@ -29,8 +29,8 @@ class ListModel : public ModPlatform::ListModel { ListModel(ModrinthPage* parent); virtual ~ListModel(); - private slots: - void searchRequestFinished() override; + public slots: + void searchRequestFinished(QJsonDocument& doc) override; private: const char** getSorts() const override; |