From 7792d82bd9fc397532c6da5444c455e5e0fd442a Mon Sep 17 00:00:00 2001 From: David Schulz Date: Fri, 3 Jan 2020 15:01:11 +0100 Subject: [PATCH] Debugger: Do not highlight global breakpoints in scrollbar The color red is perceived as an error indicator. So only highlight breakpoints if they have been assigned to an engine to reduce the visual distraction. Fixes: QTCREATORBUG-23433 Change-Id: I852d94a7637c958c65c94acacc8233b6553bb612 Reviewed-by: hjk --- src/plugins/debugger/breakhandler.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/plugins/debugger/breakhandler.cpp b/src/plugins/debugger/breakhandler.cpp index 78c8c6cbb0a..df2f62dd847 100644 --- a/src/plugins/debugger/breakhandler.cpp +++ b/src/plugins/debugger/breakhandler.cpp @@ -148,7 +148,6 @@ public: GlobalBreakpointMarker(GlobalBreakpoint gbp, const FilePath &fileName, int lineNumber) : TextMark(fileName, lineNumber, Constants::TEXT_MARK_CATEGORY_BREAKPOINT), m_gbp(gbp) { - setColor(Theme::Debugger_Breakpoint_TextMarkColor); setDefaultToolTip(QApplication::translate("BreakHandler", "Breakpoint")); setPriority(TextEditor::TextMark::NormalPriority); setIcon(m_gbp->icon());