mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-11-20 17:11:57 +00:00
27 lines
452 B
C++
27 lines
452 B
C++
#include "TechnicPage.h"
|
|
#include "ui_TechnicPage.h"
|
|
|
|
#include "MultiMC.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();
|
|
}
|