logger txt output workaround
This commit is contained in:
parent
ca0d5123d2
commit
279fe86dfa
@ -85,6 +85,7 @@ void Logger::addEntry(QString entry)
|
|||||||
{
|
{
|
||||||
if (buffer.length() < max_length) {
|
if (buffer.length() < max_length) {
|
||||||
buffer.enqueue(entry);
|
buffer.enqueue(entry);
|
||||||
|
flush();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
buffer.dequeue();
|
buffer.dequeue();
|
||||||
|
Loading…
Reference in New Issue
Block a user