Clean up program identification to pskreporter and other places

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4987 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Bill Somerville
2015-02-23 15:19:41 +00:00
parent 8736e39643
commit fe4d75aa0a
5 changed files with 22 additions and 18 deletions
+11 -3
View File
@@ -1,16 +1,24 @@
#include "about.h"
#include "ui_about.h"
#include <QCoreApplication>
#include <QString>
#include "revision_utils.hpp"
#include "ui_about.h"
#include "moc_about.cpp"
CAboutDlg::CAboutDlg(QString const& program_title, QWidget *parent) :
CAboutDlg::CAboutDlg(QWidget *parent) :
QDialog(parent),
ui(new Ui::CAboutDlg)
{
ui->setupUi(this);
ui->labelTxt->setText ("<html><h2>" + program_title + "</h2>\n\n"
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>"
"&copy; 2001-2014 by Joe Taylor, K1JT, with grateful <br>"