1 /*
2   CharmAboutDialog.cpp
3 
4   This file is part of Charm, a task-based time tracking application.
5 
6   Copyright (C) 2014-2018 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com
7 
8   Author: Frank Osterfeld <frank.osterfeld@kdab.com>
9 
10   This program is free software; you can redistribute it and/or modify
11   it under the terms of the GNU General Public License as published by
12   the Free Software Foundation, either version 2 of the License, or
13   (at your option) any later version.
14 
15   This program is distributed in the hope that it will be useful,
16   but WITHOUT ANY WARRANTY; without even the implied warranty of
17   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18   GNU General Public License for more details.
19 
20   You should have received a copy of the GNU General Public License
21   along with this program.  If not, see <http://www.gnu.org/licenses/>.
22 */
23 
24 #include "CharmAboutDialog.h"
25 #include "ui_CharmAboutDialog.h"
26 
27 #include <CharmCMake.h>
28 
CharmAboutDialog(QWidget * parent)29 CharmAboutDialog::CharmAboutDialog(QWidget *parent)
30     : QDialog(parent)
31     , m_ui(new Ui::CharmAboutDialog)
32 {
33     m_ui->setupUi(this);
34     QString versionText = m_ui->versionLabel->text();
35     versionText.replace(QLatin1String("CHARM_VERSION"), CharmVersion());
36     m_ui->versionLabel->setText(versionText);
37 }
38 
~CharmAboutDialog()39 CharmAboutDialog::~CharmAboutDialog()
40 {
41 }
42