From a29cef5787739ec8c80081f10d1e015052d65afb Mon Sep 17 00:00:00 2001 From: gabime Date: Sat, 17 Jun 2023 17:13:37 +0300 Subject: [PATCH] Make max_line explicit for qt_color_sink --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f793e90f..35c03422 100644 --- a/README.md +++ b/README.md @@ -431,7 +431,7 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) setMinimumSize(640, 480); auto log_widget = new QTextEdit(this); setCentralWidget(log_widget); - int max_lines = 500; // keep widget to max 500 lines. remove old lines if needed. + int max_lines = 500; // keep the text widget to max 500 lines. remove old lines if needed. auto logger = spdlog::qt_color_logger_mt("qt_logger", log_widget, max_lines); logger->info("Some info message"); }