Added curseforge selection

This commit is contained in:
timoreo
2022-01-16 11:20:21 +01:00
parent 621e0ba4a8
commit 975f77756d
10 changed files with 855 additions and 1 deletions

View File

@ -75,9 +75,11 @@ void ModDownloadDialog::accept()
QList<BasePage *> ModDownloadDialog::getPages()
{
modrinthPage = new ModrinthPage(this, m_instance);
flameModPage = new FlameModPage(this, m_instance);
return
{
modrinthPage
modrinthPage,
flameModPage
};
}

View File

@ -7,6 +7,7 @@
#include "ui/pages/BasePageProvider.h"
#include "minecraft/mod/ModFolderModel.h"
#include "ModDownloadTask.h"
#include "ui/pages/modplatform/flame/FlameModPage.h"
namespace Ui
{
@ -47,6 +48,7 @@ private:
ModrinthPage *modrinthPage = nullptr;
FlameModPage *flameModPage = nullptr;
std::unique_ptr<ModDownloadTask> modTask;
BaseInstance *m_instance;
};