Hacky tweaks

Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
TheKodeToad
2022-11-01 18:12:27 +00:00
parent d03ae34b61
commit 6c7d040439
3 changed files with 20 additions and 7 deletions

View File

@ -25,6 +25,7 @@
#include "ModDownloadTask.h"
#include "minecraft/mod/ModFolderModel.h"
#include "ui/pages/BasePageProvider.h"
#include "ui/pages/modplatform/ModPage.h"
namespace Ui
{
@ -56,6 +57,8 @@ public:
bool selectPage(QString pageId);
ModPage* getSelectedPage();
public slots:
void confirm();
void accept() override;
@ -69,6 +72,7 @@ private:
PageContainer * m_container = nullptr;
QDialogButtonBox * m_buttons = nullptr;
QVBoxLayout *m_verticalLayout = nullptr;
ModPage *m_selected_page = nullptr;
QHash<QString, ModDownloadTask*> modTask;
BaseInstance *m_instance;