summaryrefslogtreecommitdiffstats
path: root/src/gui/embedded/qwslock.cpp
diff options
context:
space:
mode:
authorBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2010-01-19 12:30:55 (GMT)
committerBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2010-01-21 15:24:00 (GMT)
commit3c215a1644adcca32cfc451456b6891f9c8519fd (patch)
tree1ac04d3ea1efc7ccc539420a1dfa20febdf2515e /src/gui/embedded/qwslock.cpp
parentb5754f5bd28ed01979e94983ae0480e913649d30 (diff)
downloadQt-3c215a1644adcca32cfc451456b6891f9c8519fd.zip
Qt-3c215a1644adcca32cfc451456b6891f9c8519fd.tar.gz
Qt-3c215a1644adcca32cfc451456b6891f9c8519fd.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/gui/embedded/qwslock.cpp')
0 files changed, 0 insertions, 0 deletions