diff options
author | Alexis Menard <alexis.menard@nokia.com> | 2010-03-26 05:14:50 (GMT) |
---|---|---|
committer | Alexis Menard <alexis.menard@nokia.com> | 2010-03-26 05:16:04 (GMT) |
commit | 7687d4cd76a9e22098be84126e01a6c94a91d9ce (patch) | |
tree | a4863d5336a5cd3c7aca1c568980e8c8d374cb1e | |
parent | ca90afcf32d9ba083b34f5cef3c7bde6300844f4 (diff) | |
download | Qt-7687d4cd76a9e22098be84126e01a6c94a91d9ce.zip Qt-7687d4cd76a9e22098be84126e01a6c94a91d9ce.tar.gz Qt-7687d4cd76a9e22098be84126e01a6c94a91d9ce.tar.bz2 |
QDeclarativeItem don't need to emit childrenChanged anymore.
It's done by QGraphicsItemPrivate::addChild and removeChild.
Reviewed-by:akennedy
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativeitem.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativeitem.cpp b/src/declarative/graphicsitems/qdeclarativeitem.cpp index c331af7..048e1a8 100644 --- a/src/declarative/graphicsitems/qdeclarativeitem.cpp +++ b/src/declarative/graphicsitems/qdeclarativeitem.cpp @@ -2587,10 +2587,6 @@ QVariant QDeclarativeItem::itemChange(GraphicsItemChange change, emit parentChanged(parentItem()); d->parentNotifier.notify(); break; - case ItemChildAddedChange: - case ItemChildRemovedChange: - emit childrenChanged(); - break; case ItemVisibleHasChanged: { for(int ii = 0; ii < d->changeListeners.count(); ++ii) { const QDeclarativeItemPrivate::ChangeListener &change = d->changeListeners.at(ii); |