pollymc/application/pages/modplatform/TechnicPage.cpp

27 lines
452 B
C++
Raw Normal View History

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