diff options
author | David Schulz <david.schulz@qt.io> | 2016-08-16 14:17:48 +0200 |
---|---|---|
committer | David Schulz <david.schulz@qt.io> | 2016-08-22 05:40:50 +0000 |
commit | 8b21f687c0c81f309290343a6d2b9caba1eb93f0 (patch) | |
tree | 0edc54f11b2de77a11743d597c82ca4550962e86 /src/plugins/debugger/breakhandler.cpp | |
parent | 5a40bddf08c18eaa3cc55e46d36f561730d0b3cf (diff) | |
download | qt-creator-8b21f687c0c81f309290343a6d2b9caba1eb93f0.tar.gz |
Add default tool tips to text marks
The default tool tip should describe the general purpose
of the mark which is displayed in the UI when no tool tip
is explicitly set for the text mark.
Change-Id: I27aff26cf0f3458d454428e805a9b323191dc393
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
Diffstat (limited to 'src/plugins/debugger/breakhandler.cpp')
-rw-r--r-- | src/plugins/debugger/breakhandler.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/debugger/breakhandler.cpp b/src/plugins/debugger/breakhandler.cpp index d018fbe9dc..d34e7bcd70 100644 --- a/src/plugins/debugger/breakhandler.cpp +++ b/src/plugins/debugger/breakhandler.cpp @@ -896,6 +896,8 @@ BreakHandler::BreakHandler() qRegisterMetaType<BreakpointModelId>(); TextEditor::TextMark::setCategoryColor(Constants::TEXT_MARK_CATEGORY_BREAKPOINT, Theme::Debugger_Breakpoint_TextMarkColor); + TextEditor::TextMark::setDefaultToolTip(Constants::TEXT_MARK_CATEGORY_BREAKPOINT, + tr("Breakpoint")); #if USE_BREAK_MODEL_TEST new ModelTest(this, 0); |