diff options
| author | Iain R. Learmonth <irl@debian.org> | 2015-10-18 18:51:00 +0100 |
|---|---|---|
| committer | Iain R. Learmonth <irl@debian.org> | 2015-10-18 18:51:00 +0100 |
| commit | d63dd8d081a6fcd0715cd13f26df59fb831769d2 (patch) | |
| tree | b9c1f6245147a310aac3762630bad389bbb57335 /about.cpp | |
| parent | c720a3d55c5ec832c29cb7ce50b6fb4b70c55b11 (diff) | |
Imported Upstream version 1.5.0upstream/1.5.0
Diffstat (limited to 'about.cpp')
| -rw-r--r-- | about.cpp | 31 |
1 files changed, 20 insertions, 11 deletions
@@ -1,23 +1,32 @@ #include "about.h" + +#include <QCoreApplication> +#include <QString> + +#include "revision_utils.hpp" + #include "ui_about.h" +#include "moc_about.cpp" -CAboutDlg::CAboutDlg(QWidget *parent, QString Revision) : +CAboutDlg::CAboutDlg(QWidget *parent) : QDialog(parent), - m_Revision(Revision), ui(new Ui::CAboutDlg) { ui->setupUi(this); - ui->labelTxt->clear(); - m_Str = "<html><h2>" + m_Revision + "</h2>\n\n"; - m_Str += "WSJT-X implements experimental mode JT9 for <br>"; - m_Str += "Amateur Radio communication at HF, MF, and LF. <br><br>"; - m_Str += "Copyright 2001-2013 by Joe Taylor, K1JT. Additional <br>"; - m_Str += "contributions from AC6SL, AE4JY, G4KLA, K3WYC, PY2SDR, <br>"; - m_Str += "and VK4BDJ.<br>"; - ui->labelTxt->setText(m_Str); + + ui->labelTxt->setText ("<html><h2>" + + QString {"WSJT-X v" + + QCoreApplication::applicationVersion () + + " " + revision ()}.simplified () + + "</h2>\n\n" + "WSJT-X implements digital modes JT9 and JT65 for <br>" + "Amateur Radio communication. <br><br>" + "© 2001-2015 by Joe Taylor, K1JT, with grateful <br>" + "acknowledgment for contributions from AC6SL, AE4JY, <br>" + "DJ0OT, G4KLA, G4WJS, K3WYC, KA6MAL, KA9Q, KB1ZMX, <br>" + "KI7MT, KK1D, PY2SDR, VK3ACF, VK4BDJ, W4TI, W4TV, and W9MDB.<br>"); } CAboutDlg::~CAboutDlg() { - delete ui; } |
