2018-03-19 01:36:12 +00:00
|
|
|
#include "TwitchPage.h"
|
|
|
|
#include "ui_TwitchPage.h"
|
|
|
|
|
|
|
|
#include "MultiMC.h"
|
|
|
|
#include "FolderInstanceProvider.h"
|
|
|
|
#include "dialogs/CustomMessageBox.h"
|
|
|
|
#include "dialogs/ProgressDialog.h"
|
|
|
|
#include "dialogs/NewInstanceDialog.h"
|
|
|
|
|
|
|
|
TwitchPage::TwitchPage(NewInstanceDialog* dialog, QWidget *parent)
|
|
|
|
: QWidget(parent), ui(new Ui::TwitchPage), dialog(dialog)
|
|
|
|
{
|
|
|
|
ui->setupUi(this);
|
|
|
|
}
|
|
|
|
|
|
|
|
TwitchPage::~TwitchPage()
|
|
|
|
{
|
|
|
|
delete ui;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool TwitchPage::shouldDisplay() const
|
|
|
|
{
|
2018-04-08 20:22:41 +01:00
|
|
|
return false;
|
2018-03-19 01:36:12 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void TwitchPage::openedImpl()
|
|
|
|
{
|
|
|
|
dialog->setSuggestedPack();
|
|
|
|
}
|