summaryrefslogtreecommitdiffstats
path: root/application/pages/modplatform/TechnicPage.cpp
blob: c0f4faa540df86cad87f62c58c7775efa1b8c05c (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 "TechnicPage.h"
#include "ui_TechnicPage.h"

#include "MultiMC.h"
#include "FolderInstanceProvider.h"
#include "dialogs/CustomMessageBox.h"
#include "dialogs/ProgressDialog.h"
#include "dialogs/NewInstanceDialog.h"

TechnicPage::TechnicPage(NewInstanceDialog* dialog, QWidget *parent)
	: QWidget(parent), ui(new Ui::TechnicPage), dialog(dialog)
{
	ui->setupUi(this);
}

TechnicPage::~TechnicPage()
{
	delete ui;
}

bool TechnicPage::shouldDisplay() const
{
	return true;
}

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