mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-27 14:48:46 -05:00
Only calculate revision once.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4024 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
3ab2c43de1
commit
d2ad4a349f
@ -71,6 +71,7 @@ private:
|
||||
MainWindow::MainWindow(bool multiple, QSettings * settings, QSharedMemory *shdmem, QString const& thekey,
|
||||
unsigned downSampleFactor, QWidget *parent) :
|
||||
QMainWindow(parent),
|
||||
m_revision {revision ("$Rev$")},
|
||||
m_multiple {multiple},
|
||||
m_settings (settings),
|
||||
ui(new Ui::MainWindow),
|
||||
@ -695,7 +696,7 @@ void MainWindow::monitor (bool state)
|
||||
|
||||
void MainWindow::on_actionAbout_triggered() //Display "About"
|
||||
{
|
||||
CAboutDlg {program_title (revision ("$Rev$")), this}.exec ();
|
||||
CAboutDlg {program_title (m_revision), this}.exec ();
|
||||
}
|
||||
|
||||
void MainWindow::on_autoButton_clicked (bool checked)
|
||||
@ -2935,5 +2936,5 @@ void MainWindow::pskSetLocal ()
|
||||
psk_Reporter->setLocalStation(
|
||||
m_config.my_callsign ()
|
||||
, m_config.my_grid ()
|
||||
, antenna_description, "WSJT-X " + revision ("$Rev$"));
|
||||
, antenna_description, "WSJT-X " + m_revision);
|
||||
}
|
||||
|
@ -195,6 +195,7 @@ private:
|
||||
Q_SIGNAL void outAttenuationChanged (qreal) const;
|
||||
|
||||
private:
|
||||
QString m_revision;
|
||||
bool m_multiple;
|
||||
QSettings * m_settings;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user