mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-12-30 12:15:05 +00:00
6aa9bd0f77
Now with some actual consensus on what the updater will do!
29 lines
473 B
C++
29 lines
473 B
C++
#include "UpdateDialog.h"
|
|
#include "ui_UpdateDialog.h"
|
|
#include "gui/Platform.h"
|
|
|
|
UpdateDialog::UpdateDialog(QWidget *parent) : QDialog(parent), ui(new Ui::UpdateDialog)
|
|
{
|
|
MultiMCPlatform::fixWM_CLASS(this);
|
|
ui->setupUi(this);
|
|
}
|
|
|
|
UpdateDialog::~UpdateDialog()
|
|
{
|
|
}
|
|
|
|
void UpdateDialog::on_btnUpdateLater_clicked()
|
|
{
|
|
reject();
|
|
}
|
|
|
|
void UpdateDialog::on_btnUpdateNow_clicked()
|
|
{
|
|
done(UPDATE_NOW);
|
|
}
|
|
|
|
void UpdateDialog::on_btnUpdateOnExit_clicked()
|
|
{
|
|
done(UPDATE_ONEXIT);
|
|
}
|