mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-05-24 02:12:37 -04:00
Tx line to ALL.TXT should be trimmed().
This commit is contained in:
parent
79c437f69a
commit
1f7d8545f3
@ -8983,7 +8983,7 @@ void MainWindow::write_all(QString txRx, QString message)
|
|||||||
QFile f{m_config.writeable_data_dir().absoluteFilePath(file_name)};
|
QFile f{m_config.writeable_data_dir().absoluteFilePath(file_name)};
|
||||||
if (f.open(QIODevice::WriteOnly | QIODevice::Text | QIODevice::Append)) {
|
if (f.open(QIODevice::WriteOnly | QIODevice::Text | QIODevice::Append)) {
|
||||||
QTextStream out(&f);
|
QTextStream out(&f);
|
||||||
out << line
|
out << line.trimmed()
|
||||||
#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…
x
Reference in New Issue
Block a user