| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | #include "AboutDialog.h" |
| 4 | #include "NvramToolCli.h" |
| 5 | #include "ui_AboutDialog.h" |
| 6 | |
| 7 | AboutDialog::AboutDialog(QWidget *parent) : |
| 8 | QDialog(parent), |
| 9 | ui(new Ui::AboutDialog) |
| 10 | { |
| 11 | ui->setupUi(this); |
| 12 | |
| 13 | ui->logoLabel->setPixmap(QPixmap(":/images/star.svg")); |
| 14 | |
| 15 | ui->versionLabel->setText("<tt>"+NvramToolCli::version()+"</tt>"); |
| 16 | } |
| 17 | |
| 18 | AboutDialog::~AboutDialog() |
| 19 | { |
| 20 | delete ui; |
| 21 | } |