summaryrefslogtreecommitdiffstats
path: root/src/declarative/util/qmlstate.cpp
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-12-18 01:56:06 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-12-18 01:56:06 (GMT)
commit88751e0dcad05cc68cf5160660151287db6e6273 (patch)
treea7321d7cd07be9c3b018692e3fda031f518f7fbb /src/declarative/util/qmlstate.cpp
parentb6ce2683fd8f01ef58d7e9caad133ee6cb9e2ed9 (diff)
downloadQt-88751e0dcad05cc68cf5160660151287db6e6273.zip
Qt-88751e0dcad05cc68cf5160660151287db6e6273.tar.gz
Qt-88751e0dcad05cc68cf5160660151287db6e6273.tar.bz2
Use deferred properties in states and transitions
Diffstat (limited to 'src/declarative/util/qmlstate.cpp')
-rw-r--r--src/declarative/util/qmlstate.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/declarative/util/qmlstate.cpp b/src/declarative/util/qmlstate.cpp
index c2201a6..e41cbaf 100644
--- a/src/declarative/util/qmlstate.cpp
+++ b/src/declarative/util/qmlstate.cpp
@@ -329,6 +329,8 @@ void QmlState::apply(QmlStateGroup *group, QmlTransition *trans, QmlState *rever
{
Q_D(QmlState);
+ qmlExecuteDeferred(this);
+
cancel();
if (revert)
revert->cancel();