summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qpaintdevice.cpp
diff options
context:
space:
mode:
authorGabriel de Dietrich <gabriel.dietrich-de@nokia.com>2009-08-17 11:29:09 (GMT)
committerGabriel de Dietrich <gabriel.dietrich-de@nokia.com>2009-08-17 11:39:47 (GMT)
commitabdf1befb8de4b88da43561dae2e1beb09c2a532 (patch)
tree5980f79a54bd1b8f1b2b650381c4b38a25e3390d /src/gui/painting/qpaintdevice.cpp
parent9b4982af65e533b0613abd0f889bcf6e7673e410 (diff)
downloadQt-abdf1befb8de4b88da43561dae2e1beb09c2a532.zip
Qt-abdf1befb8de4b88da43561dae2e1beb09c2a532.tar.gz
Qt-abdf1befb8de4b88da43561dae2e1beb09c2a532.tar.bz2
Transforms do not obey AnchorUnderMouse with viewport margins set
setTransformationAnchor(QGraphicsView::AnchorUnderMouse) would not work properly if viewport margins were set. When centering the view in QGraphicsViewPrivate::centerView, the viewport margins were not being taken into account. Mapping from global cursor coordinates in the viewport instead of the view fixes the issue. Task-number: 255529 Reviewed-by: Olivier
Diffstat (limited to 'src/gui/painting/qpaintdevice.cpp')
0 files changed, 0 insertions, 0 deletions