From 4c234dc74443139f227374e3471da0ca2fe7904e Mon Sep 17 00:00:00 2001 From: Megamouse Date: Sun, 8 Feb 2026 18:04:10 +0100 Subject: [PATCH] Qt: Fix duplicate ansi highlighter creation It is created in the slot when the action is toggled in LoadSettings --- rpcs3/rpcs3qt/log_frame.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/rpcs3/rpcs3qt/log_frame.cpp b/rpcs3/rpcs3qt/log_frame.cpp index 6d99791799..0e1b0fb129 100644 --- a/rpcs3/rpcs3qt/log_frame.cpp +++ b/rpcs3/rpcs3qt/log_frame.cpp @@ -163,11 +163,6 @@ log_frame::log_frame(std::shared_ptr _gui_settings, QWidget* paren CreateAndConnectActions(); LoadSettings(); - if (m_ansi_tty) - { - m_tty_ansi_highlighter = new AnsiHighlighter(m_tty->document()); - } - m_timer = new QTimer(this); connect(m_timer, &QTimer::timeout, this, &log_frame::UpdateUI); }