2014-06-08 16:02:20 +00:00
|
|
|
#include "LegacyUpgradePage.h"
|
|
|
|
#include "ui_LegacyUpgradePage.h"
|
|
|
|
|
2015-04-05 20:00:32 +00:00
|
|
|
#include "minecraft/LegacyInstance.h"
|
2014-06-08 16:02:20 +00:00
|
|
|
|
|
|
|
LegacyUpgradePage::LegacyUpgradePage(LegacyInstance *inst, QWidget *parent)
|
|
|
|
: QWidget(parent), ui(new Ui::LegacyUpgradePage), m_inst(inst)
|
|
|
|
{
|
|
|
|
ui->setupUi(this);
|
|
|
|
}
|
|
|
|
|
|
|
|
LegacyUpgradePage::~LegacyUpgradePage()
|
|
|
|
{
|
|
|
|
delete ui;
|
|
|
|
}
|
|
|
|
|
|
|
|
void LegacyUpgradePage::on_upgradeButton_clicked()
|
|
|
|
{
|
|
|
|
// now what?
|
|
|
|
}
|
2014-06-30 00:02:57 +00:00
|
|
|
|
2014-07-12 15:58:23 +00:00
|
|
|
bool LegacyUpgradePage::shouldDisplay() const
|
2014-06-30 00:02:57 +00:00
|
|
|
{
|
|
|
|
return !m_inst->isRunning();
|
2014-07-12 15:58:23 +00:00
|
|
|
}
|