summaryrefslogtreecommitdiffstats
path: root/application/pages/modplatform/TwitchPage.cpp
blob: 42aa46be0a8b94a682cd3f925f8e5a88b7b9c4d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#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
{
	return false;
}

void TwitchPage::openedImpl()
{
	dialog->setSuggestedPack();
}