Fixed #339: flushed text buffers on file save for logbook.

This commit is contained in:
Jordan Sherer 2020-06-05 10:41:49 -04:00
parent 9b1c692d76
commit 263d9ccaf6
2 changed files with 2 additions and 0 deletions

View File

@ -393,6 +393,7 @@ bool ADIF::addQSOToFile(QByteArray const& ADIF_record)
out << "JS8Call ADIF Export<eoh>" << endl; // new file
out << ADIF_record << " <eor>" << endl;
out.flush();
f2.close();
}
return true;

View File

@ -317,6 +317,7 @@ void LogQSO::accept()
QTextStream out(&f);
out << logEntryItems.join(",") << endl;
out.flush();
f.close();
}