PrismLauncher/application/pages/modplatform/TechnicPage.cpp

27 lines
452 B
C++
Raw Normal View History

2018-03-19 01:36:12 +00:00
#include "TechnicPage.h"
#include "ui_TechnicPage.h"
#include "MultiMC.h"
#include "dialogs/NewInstanceDialog.h"
TechnicPage::TechnicPage(NewInstanceDialog* dialog, QWidget *parent)
2018-07-15 13:51:05 +01:00
: QWidget(parent), ui(new Ui::TechnicPage), dialog(dialog)
2018-03-19 01:36:12 +00:00
{
2018-07-15 13:51:05 +01:00
ui->setupUi(this);
2018-03-19 01:36:12 +00:00
}
TechnicPage::~TechnicPage()
{
2018-07-15 13:51:05 +01:00
delete ui;
2018-03-19 01:36:12 +00:00
}
bool TechnicPage::shouldDisplay() const
{
2018-07-15 13:51:05 +01:00
return true;
2018-03-19 01:36:12 +00:00
}
void TechnicPage::openedImpl()
{
2018-07-15 13:51:05 +01:00
dialog->setSuggestedPack();
2018-03-19 01:36:12 +00:00
}