Update qt_sinks.h
This commit is contained in:
parent
4fb4e2bd86
commit
199cc0a6d8
@ -86,8 +86,8 @@ public:
|
|||||||
{
|
{
|
||||||
throw_spdlog_ex("qt_color_text_sink: text_edit is null");
|
throw_spdlog_ex("qt_color_text_sink: text_edit is null");
|
||||||
}
|
}
|
||||||
|
// set color for each log level
|
||||||
default_color_ = qt_text_edit_->currentCharFormat();
|
default_color_ = qt_text_edit_->currentCharFormat();
|
||||||
// set colors
|
|
||||||
QTextCharFormat format;
|
QTextCharFormat format;
|
||||||
// trace
|
// trace
|
||||||
format.setForeground(Qt::gray);
|
format.setForeground(Qt::gray);
|
||||||
|
Loading…
Reference in New Issue
Block a user