From 204b71cecef2d48c8c3fab41b6137f99c742e04a Mon Sep 17 00:00:00 2001 From: houchengqiu Date: Thu, 2 Nov 2023 17:12:24 +0800 Subject: [PATCH] fix: Fix the issue of exporting the boot log as empty by level in cli Fix the issue of exporting the boot log as empty by level in cli Log: Fix the issue of exporting the boot log as empty by level in cli Bug: https://pms.uniontech.com/bug-view-226673.html --- application/logbackend.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/logbackend.cpp b/application/logbackend.cpp index ecac57a1..26006691 100644 --- a/application/logbackend.cpp +++ b/application/logbackend.cpp @@ -1492,7 +1492,8 @@ void LogBackend::initParser() Qt::QueuedConnection); connect(m_pParser, &LogFileParser::normalFinished, this, &LogBackend::slot_normalFinished, Qt::QueuedConnection); - connect(m_pParser, &LogFileParser::journalBootFinished, this, &LogBackend::slot_journalBootFinished); + connect(m_pParser, &LogFileParser::journalBootFinished, this, &LogBackend::slot_journalBootFinished, + Qt::QueuedConnection); connect(m_pParser, &LogFileParser::proccessError, this, &LogBackend::slot_logLoadFailed, Qt::QueuedConnection);