From 931cd2fb5454a47ba0c5815c54a962c2cba4c316 Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Tue, 6 Jun 2023 19:58:26 +0300 Subject: [PATCH] Update qt_sinks.h --- include/spdlog/sinks/qt_sinks.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/include/spdlog/sinks/qt_sinks.h b/include/spdlog/sinks/qt_sinks.h index 85f4f21a..c31c7ced 100644 --- a/include/spdlog/sinks/qt_sinks.h +++ b/include/spdlog/sinks/qt_sinks.h @@ -59,11 +59,8 @@ private: #include "spdlog/details/null_mutex.h" #include -// Warning: qt_sink won't be notified if the target QObject is destroyed. -// If the object's lifetime can be shorter than the logger's one, you should provide some permanent object and then use a standard signal/slot. -using qt_sink_mt = qt_sink; -// Warning: qt_sink won't be notified if the target QObject is destroyed. -// If the object's lifetime can be shorter than the logger's one, you should provide some permanent object and then use a standard signal/slot. + +using qt_sink_mt = qt_sink using qt_sink_st = qt_sink; } // namespace sinks