mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-24 17:41:34 +08:00
Update qt_sinks.h: narrow cast msg.color_range_start, msg.color_range_end (#2781)
This commit is contained in:
parent
7990ed8f2b
commit
326f8870c2
@ -167,8 +167,8 @@ private:
|
||||
std::move(payload), // text to append
|
||||
default_color_, // default color
|
||||
colors_.at(msg.level), // color to apply
|
||||
msg.color_range_start, // color range start
|
||||
msg.color_range_end}; // color range end
|
||||
static_cast<int>(msg.color_range_start), // color range start
|
||||
static_cast<int>(msg.color_range_end)}; // color range end
|
||||
|
||||
QMetaObject::invokeMethod(
|
||||
qt_text_edit_,
|
||||
|
Loading…
Reference in New Issue
Block a user