diff options
author | Bea Lam <bea.lam@nokia.com> | 2010-03-01 05:05:38 (GMT) |
---|---|---|
committer | Bea Lam <bea.lam@nokia.com> | 2010-03-01 05:05:38 (GMT) |
commit | 3e8065867d36dd8a562ca4c0c310a9b129ec50e1 (patch) | |
tree | 8a86283d5aac09750a589072a449c175faf75810 /src/declarative/graphicsitems/qdeclarativevisualitemmodel.cpp | |
parent | e8b2404e04ff38511a96ae2dfb2aa097c6ec8166 (diff) | |
parent | 7fed799b0ac8c472c99d28943ab9d8aae78a9836 (diff) | |
download | Qt-3e8065867d36dd8a562ca4c0c310a9b129ec50e1.zip Qt-3e8065867d36dd8a562ca4c0c310a9b129ec50e1.tar.gz Qt-3e8065867d36dd8a562ca4c0c310a9b129ec50e1.tar.bz2 |
Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-qml
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativevisualitemmodel.cpp')
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativevisualitemmodel.cpp | 2 |
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; |