mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-12-27 21:15:19 +00:00
27 lines
444 B
C++
27 lines
444 B
C++
#include "TwitchPage.h"
|
|
#include "ui_TwitchPage.h"
|
|
|
|
#include "MultiMC.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();
|
|
}
|