diff --git a/rpcs3/rpcs3qt/debugger_frame.cpp b/rpcs3/rpcs3qt/debugger_frame.cpp index c54fde87c4..1ed9808b9a 100644 --- a/rpcs3/rpcs3qt/debugger_frame.cpp +++ b/rpcs3/rpcs3qt/debugger_frame.cpp @@ -150,8 +150,8 @@ void debugger_frame::ChangeColors() { if (m_debugger_list) { - m_debugger_list->m_color_bp = m_breakpoint_list->m_color_bp = gui::utils::get_label_color("debugger_frame_breakpoint", QPalette::Background); - m_debugger_list->m_color_pc = gui::utils::get_label_color("debugger_frame_pc", QPalette::Background); + m_debugger_list->m_color_bp = m_breakpoint_list->m_color_bp = gui::utils::get_label_color("debugger_frame_breakpoint", QPalette::Window); + m_debugger_list->m_color_pc = gui::utils::get_label_color("debugger_frame_pc", QPalette::Window); m_debugger_list->m_text_color_bp = m_breakpoint_list->m_text_color_bp = gui::utils::get_label_color("debugger_frame_breakpoint");; m_debugger_list->m_text_color_pc = gui::utils::get_label_color("debugger_frame_pc");; } diff --git a/rpcs3/rpcs3qt/qt_utils.h b/rpcs3/rpcs3qt/qt_utils.h index 8d1133bfd1..fd16d32f0f 100644 --- a/rpcs3/rpcs3qt/qt_utils.h +++ b/rpcs3/rpcs3qt/qt_utils.h @@ -31,7 +31,7 @@ namespace gui QStringList get_dir_entries(const QDir& dir, const QStringList& name_filters); // Returns the color specified by its color_role for the QLabels with object_name - QColor get_label_color(const QString& object_name, QPalette::ColorRole color_role = QPalette::Foreground); + QColor get_label_color(const QString& object_name, QPalette::ColorRole color_role = QPalette::WindowText); // Returns the font of the QLabels with object_name QFont get_label_font(const QString& object_name);