Salvaging code (#9432)

* Minor input refactoring

* fix sys_config_unregister_io_error_listener log message

* Remove unused variables in RepaintTextColors

Co-authored-by: GermanAizek <GermanAizek@yandex.ru>
This commit is contained in:
Megamouse 2020-12-14 14:33:43 +01:00 committed by GitHub
parent ab23e5ca0e
commit 03ad5c6830
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 208 additions and 181 deletions

View file

@ -404,10 +404,6 @@ void log_frame::LoadSettings()
void log_frame::RepaintTextColors()
{
// Backup old colors
QColor old_color_stack{ m_color_stack };
QList<QColor> old_color{ m_color };
// Get text color. Do this once to prevent possible slowdown
m_color.clear();
m_color.append(gui::utils::get_label_color("log_level_always"));