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 << "JS8Call ADIF Export<eoh>" << endl; // new file
|
||||||
|
|
||||||
out << ADIF_record << " <eor>" << endl;
|
out << ADIF_record << " <eor>" << endl;
|
||||||
|
out.flush();
|
||||||
f2.close();
|
f2.close();
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
@ -317,6 +317,7 @@ void LogQSO::accept()
|
|||||||
|
|
||||||
QTextStream out(&f);
|
QTextStream out(&f);
|
||||||
out << logEntryItems.join(",") << endl;
|
out << logEntryItems.join(",") << endl;
|
||||||
|
out.flush();
|
||||||
f.close();
|
f.close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user