Update qt_sinks.h

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

View File

@ -13,7 +13,7 @@
// auto logger = spdlog::qt_color_logger_mt("my_logger", my_edit_widget); // auto logger = spdlog::qt_color_logger_mt("my_logger", my_edit_widget);
// //
// Warning: those sinks won't be notified if the target widget is destroyed. // Warning: those sinks won't be notified if the target widget is destroyed.
// Make sure the sink get destryoed, or not used after the widget is gone. // Use a permanent QObject or make sure the sink is not used after the widget is gone.
// //
#include "spdlog/common.h" #include "spdlog/common.h"