diff options
| author | flow <flowlnlnln@gmail.com> | 2022-09-07 10:34:50 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-07 10:34:50 -0300 |
| commit | f65d506f26fd8ba346646dc24ea6bca5e968d0c6 (patch) | |
| tree | d6741565a3f85765b268cc992aaf6b6a2784c6bc /launcher/ui/pages/modplatform/modrinth | |
| parent | 333dbca01ed15103b5a36a58a9faad7464ed1582 (diff) | |
| parent | 42eb265624cb4a6461dc203a5ebfcb35ddd5d730 (diff) | |
| download | PrismLauncher-f65d506f26fd8ba346646dc24ea6bca5e968d0c6.tar.gz PrismLauncher-f65d506f26fd8ba346646dc24ea6bca5e968d0c6.tar.bz2 PrismLauncher-f65d506f26fd8ba346646dc24ea6bca5e968d0c6.zip | |
Merge pull request #997 from flowln/fix_major_version_filter
Diffstat (limited to 'launcher/ui/pages/modplatform/modrinth')
| -rw-r--r-- | launcher/ui/pages/modplatform/modrinth/ModrinthModPage.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/launcher/ui/pages/modplatform/modrinth/ModrinthModPage.h b/launcher/ui/pages/modplatform/modrinth/ModrinthModPage.h index 94985f63..40d82e6f 100644 --- a/launcher/ui/pages/modplatform/modrinth/ModrinthModPage.h +++ b/launcher/ui/pages/modplatform/modrinth/ModrinthModPage.h @@ -44,7 +44,12 @@ class ModrinthModPage : public ModPage { Q_OBJECT public: - explicit ModrinthModPage(ModDownloadDialog* dialog, BaseInstance* instance); + static ModrinthModPage* create(ModDownloadDialog* dialog, BaseInstance* instance) + { + return ModPage::create<ModrinthModPage>(dialog, instance); + } + + ModrinthModPage(ModDownloadDialog* dialog, BaseInstance* instance); ~ModrinthModPage() override = default; inline auto displayName() const -> QString override { return "Modrinth"; } |
