summaryrefslogtreecommitdiff
path: root/about.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'about.cpp')
-rw-r--r--about.cpp31
1 files changed, 20 insertions, 11 deletions
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 <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>"
+ "&copy; 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;
}