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.
26 lines
419 B
26 lines
419 B
#include "aboutdialog.h" |
|
#include "ui_aboutdialog.h" |
|
#include "clientmodel.h" |
|
|
|
AboutDialog::AboutDialog(QWidget *parent) : |
|
QDialog(parent), |
|
ui(new Ui::AboutDialog) |
|
{ |
|
ui->setupUi(this); |
|
|
|
} |
|
|
|
void AboutDialog::setModel(ClientModel *model) |
|
{ |
|
ui->versionLabel->setText(model->formatFullVersion()); |
|
} |
|
|
|
AboutDialog::~AboutDialog() |
|
{ |
|
delete ui; |
|
} |
|
|
|
void AboutDialog::on_buttonBox_accepted() |
|
{ |
|
close(); |
|
}
|
|
|