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.

31 lines
470 B

14 years ago
#include "aboutdialog.h"
14 years ago
#include "ui_aboutdialog.h"
14 years ago
#include "clientmodel.h"
#include "version.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)
{
if(model)
{
ui->versionLabel->setText(model->formatFullVersion());
}
14 years ago
}
AboutDialog::~AboutDialog()
{
delete ui;
}
void AboutDialog::on_buttonBox_accepted()
{
close();
}