diff options
author | mae <qt-info@nokia.com> | 2010-07-08 05:57:58 (GMT) |
---|---|---|
committer | mae <qt-info@nokia.com> | 2010-07-08 05:57:58 (GMT) |
commit | 5cd72b07d202b487ca42486dfefc99ba2fff0045 (patch) | |
tree | f99ec9c2dd92f25349d5145589037400adfe70cf /src/declarative/util/qdeclarativeanimation.cpp | |
parent | a2ee0cfd799f563f292e6b40ca460e05819fd0fd (diff) | |
download | Qt-5cd72b07d202b487ca42486dfefc99ba2fff0045.zip Qt-5cd72b07d202b487ca42486dfefc99ba2fff0045.tar.gz Qt-5cd72b07d202b487ca42486dfefc99ba2fff0045.tar.bz2 |
Optimization: change signal/slot to function call
Diffstat (limited to 'src/declarative/util/qdeclarativeanimation.cpp')
-rw-r--r-- | src/declarative/util/qdeclarativeanimation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/util/qdeclarativeanimation.cpp b/src/declarative/util/qdeclarativeanimation.cpp index 6559bd5..bdb9510 100644 --- a/src/declarative/util/qdeclarativeanimation.cpp +++ b/src/declarative/util/qdeclarativeanimation.cpp @@ -142,8 +142,8 @@ bool QDeclarativeAbstractAnimation::isRunning() const return d->running; } -// the behavior connects the animation to this slot -void QDeclarativeAbstractAnimation::behaviorControlRunningChanged(bool running) +// the behavior calls this function +void QDeclarativeAbstractAnimation::notifyRunningChanged(bool running) { Q_D(QDeclarativeAbstractAnimation); if (d->disableUserControl && d->running != running) { |