diff --git a/include/spdlog/sinks/qt_sinks.h b/include/spdlog/sinks/qt_sinks.h index a1cfd12c..7e4fb513 100644 --- a/include/spdlog/sinks/qt_sinks.h +++ b/include/spdlog/sinks/qt_sinks.h @@ -118,13 +118,13 @@ public: void set_default_color(QTextCharFormat format) { - // std::lock_guard lock(base_sink::mutex_); + std::lock_guard lock(base_sink::mutex_); default_color_ = format; } void set_level_color(level::level_enum color_level, QTextCharFormat format) { - // std::lock_guard lock(base_sink::mutex_); + std::lock_guard lock(base_sink::mutex_); colors_.at(static_cast(color_level)) = format; }