NOISSUE fix legacy edit instance
This commit is contained in:
parent
fe540e5dda
commit
9df2f1fa5c
9 changed files with 44 additions and 50 deletions
25
application/pages/LegacyUpgradePage.cpp
Normal file
25
application/pages/LegacyUpgradePage.cpp
Normal file
|
@ -0,0 +1,25 @@
|
|||
#include "LegacyUpgradePage.h"
|
||||
#include "ui_LegacyUpgradePage.h"
|
||||
|
||||
#include "minecraft/LegacyInstance.h"
|
||||
|
||||
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?
|
||||
}
|
||||
|
||||
bool LegacyUpgradePage::shouldDisplay() const
|
||||
{
|
||||
return !m_inst->isRunning();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue