Update qt_sinks.h

This commit is contained in:
Gabi Melman 2023-06-09 12:59:41 +03:00 committed by GitHub
parent 4fb4e2bd86
commit 199cc0a6d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -86,8 +86,8 @@ public:
{
throw_spdlog_ex("qt_color_text_sink: text_edit is null");
}
// set color for each log level
default_color_ = qt_text_edit_->currentCharFormat();
// set colors
QTextCharFormat format;
// trace
format.setForeground(Qt::gray);