summaryrefslogtreecommitdiff
path: root/src/plugins/cppcheck/cppcheckrunner.cpp
diff options
context:
space:
mode:
authorDavid Schulz <david.schulz@qt.io>2022-10-25 10:52:52 +0200
committerDavid Schulz <david.schulz@qt.io>2022-10-26 12:56:40 +0000
commit37640257db73be17c02e936bfb3993fc3e6216af (patch)
tree5a95cd2759234b026fbde63b1dbdc4297fed7c54 /src/plugins/cppcheck/cppcheckrunner.cpp
parent38c8e200710eb1c452705f2451e4f6260b3309fa (diff)
downloadqt-creator-37640257db73be17c02e936bfb3993fc3e6216af.tar.gz
Editor: Fix painting highlights on scrollbar
The document layout rounds up the height of lines in QTextLayout::boundingRect, so we have to do the same for calculating the position of highlights on the scrollbar. Fixes: QTCREATORBUG-28299 Change-Id: I36496ebec7fe7861feff7cb8a2647a11ee078b8f Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/cppcheck/cppcheckrunner.cpp')
0 files changed, 0 insertions, 0 deletions