diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-04-05 22:00:32 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-04-13 00:15:23 +0200 |
commit | 9df2f1fa5c455e4e75caf3f5ae6dbe4c34b77d51 (patch) | |
tree | 3fa8c4ca4f1a0333bbf4183edba7f6f9a98f1f0e /application/pages/LegacyUpgradePage.cpp | |
parent | fe540e5dda903156b1037559752fc5332375f465 (diff) | |
download | MultiMC-9df2f1fa5c455e4e75caf3f5ae6dbe4c34b77d51.tar MultiMC-9df2f1fa5c455e4e75caf3f5ae6dbe4c34b77d51.tar.gz MultiMC-9df2f1fa5c455e4e75caf3f5ae6dbe4c34b77d51.tar.lz MultiMC-9df2f1fa5c455e4e75caf3f5ae6dbe4c34b77d51.tar.xz MultiMC-9df2f1fa5c455e4e75caf3f5ae6dbe4c34b77d51.zip |
NOISSUE fix legacy edit instance
Diffstat (limited to 'application/pages/LegacyUpgradePage.cpp')
-rw-r--r-- | application/pages/LegacyUpgradePage.cpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/application/pages/LegacyUpgradePage.cpp b/application/pages/LegacyUpgradePage.cpp new file mode 100644 index 00000000..49998c50 --- /dev/null +++ b/application/pages/LegacyUpgradePage.cpp @@ -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(); +} |