2014-06-08 21:32:20 +05:30
|
|
|
#include "LegacyUpgradePage.h"
|
|
|
|
#include "ui_LegacyUpgradePage.h"
|
|
|
|
|
2016-02-28 00:28:40 +05:30
|
|
|
#include "minecraft/legacy/LegacyInstance.h"
|
2014-06-08 21:32:20 +05:30
|
|
|
|
|
|
|
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 05:32:57 +05:30
|
|
|
|
2014-07-12 21:28:23 +05:30
|
|
|
bool LegacyUpgradePage::shouldDisplay() const
|
2014-06-30 05:32:57 +05:30
|
|
|
{
|
|
|
|
return !m_inst->isRunning();
|
2014-07-12 21:28:23 +05:30
|
|
|
}
|