summaryrefslogtreecommitdiff
path: root/util/coreboot-configurator/src/application/AboutDialog.cpp
blob: 8282e0c0635e04c261d13d907c01554b7ba7b4fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* SPDX-License-Identifier: GPL-2.0-only */

#include "AboutDialog.h"
#include "NvramToolCli.h"
#include "ui_AboutDialog.h"

AboutDialog::AboutDialog(QWidget *parent) :
	QDialog(parent),
	ui(new Ui::AboutDialog)
{
	ui->setupUi(this);

	ui->logoLabel->setPixmap(QPixmap(":/images/star.svg"));

	ui->versionLabel->setText("<tt>"+NvramToolCli::version()+"</tt>");
}

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