summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems/qdeclarativeflipable.cpp
diff options
context:
space:
mode:
authorLeonardo Sobral Cunha <leo.cunha@nokia.com>2010-03-24 05:20:16 (GMT)
committerLeonardo Sobral Cunha <leo.cunha@nokia.com>2010-03-24 05:25:44 (GMT)
commitf59619a3a4de074d0557ce17f9580a242e4e6c16 (patch)
tree72522f9be4633d019ec5ebdf0ea23c6b16be48f9 /src/declarative/graphicsitems/qdeclarativeflipable.cpp
parent929488ba788549a9b38c1ab3784307b575a537a5 (diff)
downloadQt-f59619a3a4de074d0557ce17f9580a242e4e6c16.zip
Qt-f59619a3a4de074d0557ce17f9580a242e4e6c16.tar.gz
Qt-f59619a3a4de074d0557ce17f9580a242e4e6c16.tar.bz2
Fix abort in flipable
Flipable was calling updateSceneTransformFromParent, but this can only called when the the parent's scene transform is guaranteed to be updated, which is not the case in flipable. Task-number: QTBUG-8474 Reviewed-by: bnilsen
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativeflipable.cpp')
-rw-r--r--src/declarative/graphicsitems/qdeclarativeflipable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativeflipable.cpp b/src/declarative/graphicsitems/qdeclarativeflipable.cpp
index 8b46039..0e2ae63 100644
--- a/src/declarative/graphicsitems/qdeclarativeflipable.cpp
+++ b/src/declarative/graphicsitems/qdeclarativeflipable.cpp
@@ -160,7 +160,7 @@ QDeclarativeFlipable::Side QDeclarativeFlipable::side() const
{
Q_D(const QDeclarativeFlipable);
if (d->dirtySceneTransform)
- const_cast<QDeclarativeFlipablePrivate *>(d)->updateSceneTransformFromParent();
+ const_cast<QDeclarativeFlipablePrivate *>(d)->ensureSceneTransform();
return d->current;
}