From d63dd8d081a6fcd0715cd13f26df59fb831769d2 Mon Sep 17 00:00:00 2001 From: "Iain R. Learmonth" Date: Sun, 18 Oct 2015 18:51:00 +0100 Subject: Imported Upstream version 1.5.0 --- about.cpp | 31 ++++++++++++++++++++----------- 1 file changed, 20 insertions(+), 11 deletions(-) (limited to 'about.cpp') diff --git a/about.cpp b/about.cpp index 5cab294c..99f51941 100644 --- a/about.cpp +++ b/about.cpp @@ -1,23 +1,32 @@ #include "about.h" + +#include +#include + +#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 = "

" + m_Revision + "

\n\n"; - m_Str += "WSJT-X implements experimental mode JT9 for
"; - m_Str += "Amateur Radio communication at HF, MF, and LF.

"; - m_Str += "Copyright 2001-2013 by Joe Taylor, K1JT. Additional
"; - m_Str += "contributions from AC6SL, AE4JY, G4KLA, K3WYC, PY2SDR,
"; - m_Str += "and VK4BDJ.
"; - ui->labelTxt->setText(m_Str); + + ui->labelTxt->setText ("

" + + QString {"WSJT-X v" + + QCoreApplication::applicationVersion () + + " " + revision ()}.simplified () + + "

\n\n" + "WSJT-X implements digital modes JT9 and JT65 for
" + "Amateur Radio communication.

" + "© 2001-2015 by Joe Taylor, K1JT, with grateful
" + "acknowledgment for contributions from AC6SL, AE4JY,
" + "DJ0OT, G4KLA, G4WJS, K3WYC, KA6MAL, KA9Q, KB1ZMX,
" + "KI7MT, KK1D, PY2SDR, VK3ACF, VK4BDJ, W4TI, W4TV, and W9MDB.
"); } CAboutDlg::~CAboutDlg() { - delete ui; } -- cgit v1.2.3