summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/compileroptionsbuilder.cpp
diff options
context:
space:
mode:
authorDavid Schulz <david.schulz@qt.io>2018-12-04 09:56:59 +0100
committerDavid Schulz <david.schulz@qt.io>2018-12-10 11:19:33 +0000
commit318b83587ffd3a4ca15c527228ca47c412dd593a (patch)
tree88abf73b936e8d914aa583adcb9d818a229485e8 /src/plugins/cpptools/compileroptionsbuilder.cpp
parent3a4a53ee1cfe595f959e9bcc90beb760db980533 (diff)
downloadqt-creator-318b83587ffd3a4ca15c527228ca47c412dd593a.tar.gz
TextEditor: fix painting annotations
The painting of annotations for one line will be aborted as soon as we hit the first text mark that returns an empty bounding rect for the annotation. This results in no painting at all when having a line with multiple text marks with and without annotation. Prefilter the text marks to make sure we only try to paint text marks with an annotation. Change-Id: I4f07127fafe935b2ad4ed418b326b6f2ab5b1c50 Fixes: QTCREATORBUG-21628 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/cpptools/compileroptionsbuilder.cpp')
0 files changed, 0 insertions, 0 deletions