mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 21:58:38 -05:00
Include Tx mode in entries to map65_tx.log.
This commit is contained in:
parent
1ce78c184a
commit
c747e98bda
@ -1556,11 +1556,13 @@ void MainWindow::guiUpdate()
|
|||||||
msgsent[22]=0;
|
msgsent[22]=0;
|
||||||
|
|
||||||
if(m_restart) {
|
if(m_restart) {
|
||||||
|
QString t=" Tx " + m_modeTx + " ";
|
||||||
|
t=t.left(11);
|
||||||
QFile f("map65_tx.log");
|
QFile f("map65_tx.log");
|
||||||
f.open(QIODevice::WriteOnly | QIODevice::Text | QIODevice::Append);
|
f.open(QIODevice::WriteOnly | QIODevice::Text | QIODevice::Append);
|
||||||
QTextStream out(&f);
|
QTextStream out(&f);
|
||||||
out << QDateTime::currentDateTimeUtc().toString("yyyy-MMM-dd hh:mm")
|
out << QDateTime::currentDateTimeUtc().toString("yyyy-MMM-dd hh:mm")
|
||||||
<< " Tx message: " << QString::fromLatin1(msgsent)
|
<< t << QString::fromLatin1(msgsent)
|
||||||
#if QT_VERSION >= QT_VERSION_CHECK (5, 15, 0)
|
#if QT_VERSION >= QT_VERSION_CHECK (5, 15, 0)
|
||||||
<< Qt::endl
|
<< Qt::endl
|
||||||
#else
|
#else
|
||||||
@ -1585,11 +1587,13 @@ void MainWindow::guiUpdate()
|
|||||||
m_transmitting=true;
|
m_transmitting=true;
|
||||||
m_wide_graph_window->enableSetRxHardware(false);
|
m_wide_graph_window->enableSetRxHardware(false);
|
||||||
|
|
||||||
|
QString t=" Tx " + m_modeTx + " ";
|
||||||
|
t=t.left(11);
|
||||||
QFile f("map65_tx.log");
|
QFile f("map65_tx.log");
|
||||||
f.open(QIODevice::WriteOnly | QIODevice::Text | QIODevice::Append);
|
f.open(QIODevice::WriteOnly | QIODevice::Text | QIODevice::Append);
|
||||||
QTextStream out(&f);
|
QTextStream out(&f);
|
||||||
out << QDateTime::currentDateTimeUtc().toString("yyyy-MMM-dd hh:mm")
|
out << QDateTime::currentDateTimeUtc().toString("yyyy-MMM-dd hh:mm")
|
||||||
<< " Tx message: " << QString::fromLatin1(msgsent)
|
<< t << QString::fromLatin1(msgsent)
|
||||||
#if QT_VERSION >= QT_VERSION_CHECK (5, 15, 0)
|
#if QT_VERSION >= QT_VERSION_CHECK (5, 15, 0)
|
||||||
<< Qt::endl
|
<< Qt::endl
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user