summaryrefslogtreecommitdiffstats
path: root/src/scripttools/debugging/qscriptdebuggercodewidgetinterface_p_p.h
diff options
context:
space:
mode:
authorBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2010-01-19 12:30:55 (GMT)
committerPrasanth Ullattil <prasanth.ullattil@nokia.com>2010-01-27 15:30:21 (GMT)
commitde9b91a5363ae27de50de7475e958f4858f6dd8d (patch)
tree782bef5f1b8417c0dab87b37123b140c1c7bc895 /src/scripttools/debugging/qscriptdebuggercodewidgetinterface_p_p.h
parentdd29275d302ca10b9b07c4cc246402036b854830 (diff)
downloadQt-de9b91a5363ae27de50de7475e958f4858f6dd8d.zip
Qt-de9b91a5363ae27de50de7475e958f4858f6dd8d.tar.gz
Qt-de9b91a5363ae27de50de7475e958f4858f6dd8d.tar.bz2
Only send QGraphicsItem::ParentChange(d) notifications from setParentItem.
QmlGraphicsItem doesn't need any parent change notifactions so we can call the helper class (QGraphicsItemPrivate::setParentItemHelper) direclty from QmlGraphicsItem::setParentItem. This avoids a lot of unnecessary instructions related to QVariant constructions as well as virtual function calls. I've made the variant pointers explicit in the declaration of setParentItemHelper so that we don't accidentally call setParentItemHelper from places where we need parent change notifications. Task-number: QTBUG-6877 Reviewed-by: alexis
Diffstat (limited to 'src/scripttools/debugging/qscriptdebuggercodewidgetinterface_p_p.h')
0 files changed, 0 insertions, 0 deletions