summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2010-03-01 05:05:38 (GMT)
committerBea Lam <bea.lam@nokia.com>2010-03-01 05:05:38 (GMT)
commit3e8065867d36dd8a562ca4c0c310a9b129ec50e1 (patch)
tree8a86283d5aac09750a589072a449c175faf75810
parente8b2404e04ff38511a96ae2dfb2aa097c6ec8166 (diff)
parent7fed799b0ac8c472c99d28943ab9d8aae78a9836 (diff)
downloadQt-3e8065867d36dd8a562ca4c0c310a9b129ec50e1.zip
Qt-3e8065867d36dd8a562ca4c0c310a9b129ec50e1.tar.gz
Qt-3e8065867d36dd8a562ca4c0c310a9b129ec50e1.tar.bz2
Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-qml
-rw-r--r--src/declarative/graphicsitems/qdeclarativevisualitemmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativevisualitemmodel.cpp b/src/declarative/graphicsitems/qdeclarativevisualitemmodel.cpp
index 2402648..cd72ef9 100644
--- a/src/declarative/graphicsitems/qdeclarativevisualitemmodel.cpp
+++ b/src/declarative/graphicsitems/qdeclarativevisualitemmodel.cpp
@@ -917,7 +917,7 @@ QDeclarativeVisualDataModel::ReleaseFlags QDeclarativeVisualDataModel::release(Q
if (inPackage) {
emit destroyingPackage(qobject_cast<QDeclarativePackage*>(obj));
} else {
- item->setVisible(false);
+ item->setOpacity(0.0);
static_cast<QGraphicsItem*>(item)->setParentItem(0);
}
stat |= Destroyed;