diff options
author | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2017-10-23 15:53:57 +0200 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2017-10-25 06:20:15 +0000 |
commit | 9d1939799467ec900eee20b0c68b82d367aaaea7 (patch) | |
tree | d498e629fd6d3e86e5d672eded77f50150ae9ec9 /src/plugins/cpptools/cpprefactoringengine.cpp | |
parent | 4d90477e02be27e083c35f526cac5187fe39e4ed (diff) | |
download | qt-creator-9d1939799467ec900eee20b0c68b82d367aaaea7.tar.gz |
CppEditor: Simplify CppHoverHandler::identifyMatch
Diagnostic tooltips for the built-in code model were determined with the
help of editorWidget->extraSelectionTooltip(), which iterated over all
extra selections. Rely on CppElementEvaluator::hasDiagnosis() instead,
which looks only for the relevant selections of the category
CodeWarningsSelection.
This is not supposed to change any behavior.
Change-Id: I7aea678b347a94a00610057180e305921234b580
Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/cpptools/cpprefactoringengine.cpp')
0 files changed, 0 insertions, 0 deletions