From 1d83fae23dace8fb1b7d79dc6cbf715f687d0f4e Mon Sep 17 00:00:00 2001 From: in1tiate Date: Tue, 30 Mar 2021 06:59:35 -0500 Subject: [PATCH] fix chat arrow being loaded when it doesnt need to be --- src/courtroom.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/courtroom.cpp b/src/courtroom.cpp index e506395..5eafe60 100644 --- a/src/courtroom.cpp +++ b/src/courtroom.cpp @@ -1990,15 +1990,6 @@ void Courtroom::chatmessage_enqueue(QStringList p_contents) void Courtroom::chatmessage_dequeue() { - // Chat stopped being processed, indicate that the user can post their message now. - QString f_custom_theme; - if (ao_app->is_customchat_enabled()) { - QString f_char = m_chatmessage[CHAR_NAME]; - f_custom_theme = ao_app->get_chat(f_char); - } - ui_vp_chat_arrow->transform_mode = ao_app->get_misc_scaling(f_custom_theme); - ui_vp_chat_arrow->load_image("chat_arrow", f_custom_theme); - // Nothing to parse in the queue if (chatmessage_queue.isEmpty()) return;