Correct the formatting of date message in all.txt.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3233 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2013-04-27 13:29:46 +00:00
parent 6c1b67e604
commit 80a15c8415

View File

@ -305,7 +305,7 @@ MainWindow::MainWindow(QSharedMemory *shdmem, QWidget *parent) :
f2.open(QIODevice::WriteOnly | QIODevice::Text | QIODevice::Append); f2.open(QIODevice::WriteOnly | QIODevice::Text | QIODevice::Append);
QTextStream out(&f2); QTextStream out(&f2);
out << QDateTime::currentDateTimeUtc().toString("yyyy-MMM-dd hh:mm") out << QDateTime::currentDateTimeUtc().toString("yyyy-MMM-dd hh:mm")
<< m_dialFreq << " MHz " << m_mode << endl; << " " << m_dialFreq << " MHz " << m_mode << endl;
f2.close(); f2.close();
} // End of MainWindow constructor } // End of MainWindow constructor
@ -1286,7 +1286,7 @@ void MainWindow::readFromStdout() //readFromStdout
QTextStream out(&f); QTextStream out(&f);
if(m_RxLog && 1) { if(m_RxLog && 1) {
out << QDateTime::currentDateTimeUtc().toString("yyyy-MMM-dd hh:mm") out << QDateTime::currentDateTimeUtc().toString("yyyy-MMM-dd hh:mm")
<< m_dialFreq << " MHz " << m_mode << endl; << " " << m_dialFreq << " MHz " << m_mode << endl;
m_RxLog=0; m_RxLog=0;
} }
int n=t.length(); int n=t.length();