mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-12-30 21:15:35 +00:00
23 lines
521 B
C++
23 lines
521 B
C++
#include "aboutdialog.h"
|
|
#include "ui_aboutdialog.h"
|
|
#include <QIcon>
|
|
#include <MultiMC.h>
|
|
|
|
AboutDialog::AboutDialog(QWidget *parent) :
|
|
QDialog(parent),
|
|
ui(new Ui::AboutDialog)
|
|
{
|
|
ui->setupUi(this);
|
|
|
|
ui->icon->setPixmap(QIcon(":/icons/multimc/scalable/apps/multimc.svg").pixmap(64));
|
|
ui->title->setText("MultiMC " + MMC->version().toString());
|
|
connect(ui->closeButton, SIGNAL(clicked()), SLOT(close()));
|
|
|
|
MMC->connect(ui->aboutQt, SIGNAL(clicked()), SLOT(aboutQt()));
|
|
}
|
|
|
|
AboutDialog::~AboutDialog()
|
|
{
|
|
delete ui;
|
|
}
|