pollymc/application/pages/modplatform/TwitchPage.cpp

30 lines
554 B
C++
Raw Normal View History

2018-03-19 07:06:12 +05:30
#include "TwitchPage.h"
#include "ui_TwitchPage.h"
#include "MultiMC.h"
#include "FolderInstanceProvider.h"
#include "dialogs/CustomMessageBox.h"
#include "dialogs/ProgressDialog.h"
#include "dialogs/NewInstanceDialog.h"
TwitchPage::TwitchPage(NewInstanceDialog* dialog, QWidget *parent)
2018-07-15 18:21:05 +05:30
: QWidget(parent), ui(new Ui::TwitchPage), 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
}
TwitchPage::~TwitchPage()
{
2018-07-15 18:21:05 +05:30
delete ui;
2018-03-19 07:06:12 +05:30
}
bool TwitchPage::shouldDisplay() const
{
2018-07-15 18:21:05 +05:30
return false;
2018-03-19 07:06:12 +05:30
}
void TwitchPage::openedImpl()
{
2018-07-15 18:21:05 +05:30
dialog->setSuggestedPack();
2018-03-19 07:06:12 +05:30
}