From 5d02c34fba50b168212708b46583d33520ba8345 Mon Sep 17 00:00:00 2001 From: sunwen Date: Mon, 23 Sep 2024 15:44:03 +0800 Subject: [PATCH] fix: Fix user operation write log while confirm dialog message has "\n". --- src/log/UserOperationLog.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/log/UserOperationLog.cpp b/src/log/UserOperationLog.cpp index 6cd30cd..39139cc 100644 --- a/src/log/UserOperationLog.cpp +++ b/src/log/UserOperationLog.cpp @@ -68,7 +68,8 @@ void UserOperationLog::log(const QString& aOperationText) QDateTime now = QDateTime::currentDateTime(); AppGlobalValues::setLastOperationTime(now); QString UserName = (!User::Current() || User::Current()->getUserCode().isEmpty())?"anonymous":User::Current()->getUserCode(); - out << now.toString(Qt::DateFormat::ISODateWithMs).replace("T","\t")<<"\t"<