summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-03-29 06:25:03 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-03-29 06:25:03 (GMT)
commite993f05e5b927909978e355b0bdea4c1406acafb (patch)
treed952d7e2ad32457e34147299485b89c7286593af /src
parentc3735fe990ca7b18a45d08867e853187fe1d3443 (diff)
parent6f88388db4e8e202780d789e66664ff824691948 (diff)
downloadQt-e993f05e5b927909978e355b0bdea4c1406acafb.zip
Qt-e993f05e5b927909978e355b0bdea4c1406acafb.tar.gz
Qt-e993f05e5b927909978e355b0bdea4c1406acafb.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7
Diffstat (limited to 'src')
-rw-r--r--src/declarative/graphicsitems/qdeclarativeitem.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativeitem.cpp b/src/declarative/graphicsitems/qdeclarativeitem.cpp
index 611535c..e8f3652 100644
--- a/src/declarative/graphicsitems/qdeclarativeitem.cpp
+++ b/src/declarative/graphicsitems/qdeclarativeitem.cpp
@@ -1438,10 +1438,6 @@ QDeclarativeItem::~QDeclarativeItem()
*/
void QDeclarativeItem::setParentItem(QDeclarativeItem *parent)
{
- QDeclarativeItem *oldParent = parentItem();
- if (parent == oldParent || !parent) return;
-
- QObject::setParent(parent);
QGraphicsObject::setParentItem(parent);
}