Update qt_sinks.h: narrow cast msg.color_range_start, msg.color_range_end

pull/2781/head
Jiang Y 2 years ago committed by GitHub
parent da1e671d42
commit 8a93dac5d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save