mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-11-20 08:10:11 +00:00
be73eb3322
Icons are from Oxygen.
34 lines
560 B
C++
34 lines
560 B
C++
#include "LegacyUpgradePage.h"
|
|
#include "ui_LegacyUpgradePage.h"
|
|
|
|
QString LegacyUpgradePage::displayName()
|
|
{
|
|
return tr("Upgrade");
|
|
}
|
|
|
|
QIcon LegacyUpgradePage::icon()
|
|
{
|
|
return QIcon::fromTheme("checkupdate");
|
|
}
|
|
|
|
QString LegacyUpgradePage::id()
|
|
{
|
|
return "upgrade";
|
|
}
|
|
|
|
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?
|
|
}
|