aboutsummaryrefslogtreecommitdiff
path: root/src/qt/aboutdialog.cpp
blob: 13347961dd4d0a1c9c5b97d3dd11587f8c560176 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include "aboutdialog.h"
#include "ui_aboutdialog.h"

#include "util.h"

AboutDialog::AboutDialog(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::AboutDialog)
{
    ui->setupUi(this);
    ui->versionLabel->setText(QString::fromStdString(FormatFullVersion()));
}

AboutDialog::~AboutDialog()
{
    delete ui;
}

void AboutDialog::on_buttonBox_accepted()
{
    close();
}