forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -148,7 +148,6 @@ public:
|
|||||||
GlobalBreakpointMarker(GlobalBreakpoint gbp, const FilePath &fileName, int lineNumber)
|
GlobalBreakpointMarker(GlobalBreakpoint gbp, const FilePath &fileName, int lineNumber)
|
||||||
: TextMark(fileName, lineNumber, Constants::TEXT_MARK_CATEGORY_BREAKPOINT), m_gbp(gbp)
|
: TextMark(fileName, lineNumber, Constants::TEXT_MARK_CATEGORY_BREAKPOINT), m_gbp(gbp)
|
||||||
{
|
{
|
||||||
setColor(Theme::Debugger_Breakpoint_TextMarkColor);
|
|
||||||
setDefaultToolTip(QApplication::translate("BreakHandler", "Breakpoint"));
|
setDefaultToolTip(QApplication::translate("BreakHandler", "Breakpoint"));
|
||||||
setPriority(TextEditor::TextMark::NormalPriority);
|
setPriority(TextEditor::TextMark::NormalPriority);
|
||||||
setIcon(m_gbp->icon());
|
setIcon(m_gbp->icon());
|
||||||
|
Reference in New Issue
Block a user