summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/doc_src_qtscript.js
diff options
context:
space:
mode:
authorChristophe Oosterlynck <christophe.oosterlynck@dzine.be>2011-11-02 09:00:12 (GMT)
committerSamuel Rødal <samuel.rodal@nokia.com>2011-11-02 09:01:05 (GMT)
commit7925f107814e46deb0848d9e6016721ceebfb521 (patch)
treecc3dbee045b4cca33eecf7b531f4766ecc2bdfa3 /doc/src/snippets/code/doc_src_qtscript.js
parent582dec4b753b84cc69eb140290ceff346bce76b9 (diff)
downloadQt-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 'doc/src/snippets/code/doc_src_qtscript.js')
0 files changed, 0 insertions, 0 deletions