diff options
author | Charles Yin <charles.yin@nokia.com> | 2012-05-24 14:08:20 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-25 03:21:48 +0200 |
commit | 0c6c4ffacc6e9ff57e041329e4952fd61ad0717c (patch) | |
tree | 9adf726c14c4916d57978c41b98703e7c3de269e /src/qml/animations | |
parent | 1a93548e6b8095e211ea6ad8e074db4741b6801f (diff) |
Add more RETURN_IF_DELETED checking in animation code
Change-Id: I5f77cdc7a6bede547119b2a0b59b41d27cfc401a
Reviewed-by: Martin Jones <martin.jones@nokia.com>
Diffstat (limited to 'src/qml/animations')
-rw-r--r-- | src/qml/animations/qabstractanimationjob.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/animations/qabstractanimationjob.cpp b/src/qml/animations/qabstractanimationjob.cpp index 52ec00e7e0..714012e560 100644 --- a/src/qml/animations/qabstractanimationjob.cpp +++ b/src/qml/animations/qabstractanimationjob.cpp @@ -355,7 +355,7 @@ void QAbstractAnimationJob::setState(QAbstractAnimationJob::State newState) if (oldState == Stopped) { if (isTopLevel) { // currentTime needs to be updated if pauseTimer is active - QQmlAnimationTimer::ensureTimerUpdate(); + RETURN_IF_DELETED(QQmlAnimationTimer::ensureTimerUpdate()); RETURN_IF_DELETED(setCurrentTime(m_totalCurrentTime)); } } |