summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cpprefactoringchanges.cpp
diff options
context:
space:
mode:
authorPaul Olav Tvete <paul.tvete@digia.com>2014-08-22 15:13:28 +0200
committerPaul Olav Tvete <paul.tvete@digia.com>2014-08-28 21:01:10 +0200
commitea82bfb5324e58ceb2eee132a6030c32a1e2916b (patch)
tree02fc1b09d2b6f500bcdd07c3fa32e26ae6527426 /src/plugins/cpptools/cpprefactoringchanges.cpp
parent9f2d54c959244c736ac6844a5d163b3e37e0d281 (diff)
downloadqt-creator-ea82bfb5324e58ceb2eee132a6030c32a1e2916b.tar.gz
Painting fix when devicePixelRatio > 1
Qt draws lines on half-pixel boundaries. Because of rounding, this is not visible with non-scaled aliased painting. However, on a high-DPI screen with scaling enabled, the line under the menu bar is drawn at a one pixel offset, which causes it to overlap the menubar items. This change draws the line at the mathematically correct position. Task-number: QTBUG-38858 Change-Id: I0a2260507d346b52a36258d479cde87064d991ef Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
Diffstat (limited to 'src/plugins/cpptools/cpprefactoringchanges.cpp')
0 files changed, 0 insertions, 0 deletions