summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cpptoolsplugin.cpp
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@digia.com>2014-07-10 13:45:35 +0200
committerAlessandro Portale <alessandro.portale@digia.com>2014-07-14 21:14:06 +0200
commit5a6a69b06fc95f4bec64b46bd6a521093b7ead46 (patch)
tree065294241d467f50ab04dc6d5772be3582f78627 /src/plugins/cpptools/cpptoolsplugin.cpp
parentf88b477062c2cb359714791468c20204e93ffd1c (diff)
downloadqt-creator-5a6a69b06fc95f4bec64b46bd6a521093b7ead46.tar.gz
Utils: making StyleHelper::drawCornerImage() dpi aware
An image passed to drawCornerImage() can have any devicePixelRatio or rather "its own imagePixel to userPixel ratio". drawCornerImage() calls QPainter::drawImage and now passes it a source rect in "image pixels" and a target rect in "user pixels". Change-Id: Ia0d6459c1570ec5d4f87568e653526f738594f6e Reviewed-by: Marco Bubke <marco.bubke@digia.com>
Diffstat (limited to 'src/plugins/cpptools/cpptoolsplugin.cpp')
0 files changed, 0 insertions, 0 deletions