Fixed #339: flushed text buffers on file save for logbook.
This commit is contained in:
parent
9b1c692d76
commit
263d9ccaf6
@ -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;
|
||||
|
@ -317,6 +317,7 @@ void LogQSO::accept()
|
||||
|
||||
QTextStream out(&f);
|
||||
out << logEntryItems.join(",") << endl;
|
||||
out.flush();
|
||||
f.close();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user