Initial better mod browser link implementation

Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
TheKodeToad
2022-11-01 16:58:22 +00:00
parent 04b39294ba
commit 7f32c6464d
8 changed files with 87 additions and 11 deletions

View File

@ -187,3 +187,8 @@ void ModDownloadDialog::selectedPageChanged(BasePage* previous, BasePage* select
// Same effect as having a global search bar
selected_page->setSearchTerm(prev_page->getSearchTerm());
}
bool ModDownloadDialog::selectPage(QString pageId)
{
return m_container->selectPage(pageId);
}

View File

@ -53,6 +53,8 @@ public:
const QList<ModDownloadTask*> getTasks();
const std::shared_ptr<ModFolderModel> &mods;
bool selectPage(QString pageId);
public slots:
void confirm();
void accept() override;