aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger
diff options
context:
space:
mode:
authorDavid Schulz <david.schulz@qt.io>2020-01-03 15:01:11 +0100
committerDavid Schulz <david.schulz@qt.io>2020-01-09 05:36:38 +0000
commit7792d82bd9fc397532c6da5444c455e5e0fd442a (patch)
treeba820a4d78f5f61ff8d935336b19d8d366d06e51 /src/plugins/debugger
parent67eebd09a3d779daad79eae965b6006e2efa31c2 (diff)
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 <hjk@qt.io>
Diffstat (limited to 'src/plugins/debugger')
-rw-r--r--src/plugins/debugger/breakhandler.cpp1
1 files changed, 0 insertions, 1 deletions
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());