diff options
author | Christophe Oosterlynck <christophe.oosterlynck@dzine.be> | 2011-11-02 09:00:12 (GMT) |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2011-11-02 09:01:05 (GMT) |
commit | 7925f107814e46deb0848d9e6016721ceebfb521 (patch) | |
tree | cc3dbee045b4cca33eecf7b531f4766ecc2bdfa3 /src/scripttools/debugging/qscriptdebuggerstackwidgetinterface.cpp | |
parent | 582dec4b753b84cc69eb140290ceff346bce76b9 (diff) | |
download | Qt-7925f107814e46deb0848d9e6016721ceebfb521.zip Qt-7925f107814e46deb0848d9e6016721ceebfb521.tar.gz Qt-7925f107814e46deb0848d9e6016721ceebfb521.tar.bz2 |
Correction for effectiveBoundingRect() calculation for QGraphicsItem
QGraphicsItemPrivate::effectiveBoundingRect() should use ItemClipsChildrenToShape
flag from the parent while looping to check for clipping and not use
its own AncestorClipsChildren flag.
By using AncestorClipsChildren, you're checking if one of your ancestors
clips you, but you really want to know if your direct parent clips you.
Merge-request: 1419
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'src/scripttools/debugging/qscriptdebuggerstackwidgetinterface.cpp')
0 files changed, 0 insertions, 0 deletions