summaryrefslogtreecommitdiff
path: root/src/plugins/clangcodemodel/clangcodemodel.qbs
diff options
context:
space:
mode:
authorNikolai Kosjar <nikolai.kosjar@theqtcompany.com>2016-01-27 13:37:19 +0100
committerAlessandro Portale <alessandro.portale@theqtcompany.com>2016-02-12 11:20:27 +0000
commit9a4284d666a760960177cb42f6a2b78800f493a4 (patch)
treea861da89f78b0b61308e1aa611c3d305ac2cc5b0 /src/plugins/clangcodemodel/clangcodemodel.qbs
parent593ed52c942f44f15a559b0701cda5e46c777290 (diff)
downloadqt-creator-9a4284d666a760960177cb42f6a2b78800f493a4.tar.gz
Clang: Use CppHoverHandler for diagnostic tooltips
We used to call QTextCharFormat::setToolTip from the ExtraSelection to install the diagnostic tooltip. Since this allows to set only text tooltips and we would like to introduce a custom tooltip widget for diagnostics, make use of CppHoverHandler, which is more flexible. Change-Id: Ia1b2c3c50810596ce4a3a025002e6e4efd8789db Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
Diffstat (limited to 'src/plugins/clangcodemodel/clangcodemodel.qbs')
-rw-r--r--src/plugins/clangcodemodel/clangcodemodel.qbs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/clangcodemodel/clangcodemodel.qbs b/src/plugins/clangcodemodel/clangcodemodel.qbs
index 8d72501868..2b7c6f480a 100644
--- a/src/plugins/clangcodemodel/clangcodemodel.qbs
+++ b/src/plugins/clangcodemodel/clangcodemodel.qbs
@@ -77,6 +77,7 @@ QtcPlugin {
"clangfunctionhintmodel.h",
"clanghighlightingmarksreporter.cpp",
"clanghighlightingmarksreporter.h",
+ "clangisdiagnosticrelatedtolocation.h",
"clangmodelmanagersupport.cpp",
"clangmodelmanagersupport.h",
"clangpreprocessorassistproposalitem.cpp",