aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorscatterflower <marisaposs@gameboyprinter.moe>2020-08-17 07:05:37 -0500
committerscatterflower <marisaposs@gameboyprinter.moe>2020-08-17 07:05:37 -0500
commitda002085abf3deab2c51cbabcfb910e78c81656e (patch)
treeb752387b2c28d6ebf088ca7222abceb13d61f8a7
parentecb0ee42a3a399c092eafdf2ac60faaad4bf119f (diff)
Do not update colors in log for each IC message
-rw-r--r--src/courtroom.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/courtroom.cpp b/src/courtroom.cpp
index be7588a5..978cc04d 100644
--- a/src/courtroom.cpp
+++ b/src/courtroom.cpp
@@ -1885,14 +1885,6 @@ void Courtroom::handle_chatmessage(QStringList *p_contents)
QString f_char = m_chatmessage[CHAR_NAME];
QString f_custom_theme = ao_app->get_char_shouts(f_char);
- // Load the colors in case it's using a custom chatbox with custom colors.
- // Or reload the default ones in case it's not using custom colors
- color_rgb_list.clear();
- for (int c = 0; c < max_colors; ++c) {
- QColor color = ao_app->get_chat_color("c" + QString::number(c), f_char);
- color_rgb_list.append(color);
- }
-
append_ic_text(m_chatmessage[MESSAGE], f_displayname, "",
m_chatmessage[TEXT_COLOR].toInt());