aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/pages/modplatform/modrinth/ModrinthModel.h
diff options
context:
space:
mode:
authorflow <thiagodonato300@gmail.com>2022-03-02 23:01:23 -0300
committerflow <thiagodonato300@gmail.com>2022-03-02 23:13:04 -0300
commit2d68308d4920be4c28a73d7646814765eee7b7a2 (patch)
treeac0c9abf5a1f33bc13b8f885070904e7e7bfe43d /launcher/ui/pages/modplatform/modrinth/ModrinthModel.h
parent0dd1c26cf3cd68cd83f5d9da6cf34d4aa3f30db2 (diff)
downloadPrismLauncher-2d68308d4920be4c28a73d7646814765eee7b7a2.tar.gz
PrismLauncher-2d68308d4920be4c28a73d7646814765eee7b7a2.tar.bz2
PrismLauncher-2d68308d4920be4c28a73d7646814765eee7b7a2.zip
refactor: move url creation for mods to modplatform/
Moves all things related to creating the URLs of the mod platforms that go to network tasks to a single place, so that: 1. Maintaining and fixing eventual issues is more straightforward. 2. Makes it possible to factor out more common code between the different modplatform pages
Diffstat (limited to 'launcher/ui/pages/modplatform/modrinth/ModrinthModel.h')
-rw-r--r--launcher/ui/pages/modplatform/modrinth/ModrinthModel.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/launcher/ui/pages/modplatform/modrinth/ModrinthModel.h b/launcher/ui/pages/modplatform/modrinth/ModrinthModel.h
index 73492356..b8937b50 100644
--- a/launcher/ui/pages/modplatform/modrinth/ModrinthModel.h
+++ b/launcher/ui/pages/modplatform/modrinth/ModrinthModel.h
@@ -30,8 +30,10 @@ class ListModel : public ModPlatform::ListModel {
virtual ~ListModel();
private slots:
- void performPaginatedSearch() override;
void searchRequestFinished() override;
+
+ private:
+ const char** getSorts() const override;
};
} // namespace Modrinth