mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2026-06-04 06:54:47 -04:00
Use WSJT-X revision utilities to label the MAP65 revision
MAP65 still has a private version number as set in map65/main.c, but the SCS revision automatically tracks the git SHA.
This commit is contained in:
+10
-10
@@ -1,20 +1,20 @@
|
||||
#include "about.h"
|
||||
#include "revision_utils.hpp"
|
||||
#include "ui_about.h"
|
||||
|
||||
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><h4>" + m_Revision + "</h4>\n\n";
|
||||
m_Str += "MAP65 implements a wideband polarization-matching receiver <br>";
|
||||
m_Str += "for the JT65 protocol, with a matching transmitting facility. <br>";
|
||||
m_Str += "It is primarily intended for amateur radio EME communication. <br><br>";
|
||||
m_Str += "Copyright 2001-2021 by Joe Taylor, K1JT. Additional <br>";
|
||||
m_Str += "acknowledgments are contained in the source code. <br>";
|
||||
ui->labelTxt->setText(m_Str);
|
||||
ui->labelTxt->setText("<html><h4>" + QString {"MAP65 v"
|
||||
+ QCoreApplication::applicationVersion ()
|
||||
+ " " + revision ()}.simplified () + "</h4><br />"
|
||||
"MAP65 implements a wideband polarization-matching receiver <br />"
|
||||
"for the JT65 protocol, with a matching transmitting facility. <br />"
|
||||
"It is primarily intended for amateur radio EME communication. <br /><br />"
|
||||
"Copyright 2001-2021 by Joe Taylor, K1JT. Additional <br />"
|
||||
"acknowledgments are contained in the source code.");
|
||||
}
|
||||
|
||||
CAboutDlg::~CAboutDlg()
|
||||
|
||||
Reference in New Issue
Block a user