Community driven twister-core
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
419 B

14 years ago
#include "aboutdialog.h"
14 years ago
#include "ui_aboutdialog.h"
14 years ago
#include "clientmodel.h"
AboutDialog::AboutDialog(QWidget *parent) :
14 years ago
QDialog(parent),
ui(new Ui::AboutDialog)
{
14 years ago
ui->setupUi(this);
14 years ago
}
void AboutDialog::setModel(ClientModel *model)
{
ui->versionLabel->setText(model->formatFullVersion());
14 years ago
}
AboutDialog::~AboutDialog()
{
delete ui;
}
void AboutDialog::on_buttonBox_accepted()
{
close();
}