Further delay animation creation in Behavior.
authorMichael Brasser <michael.brasser@nokia.com>
Thu, 22 Sep 2011 23:44:09 +0000 (09:44 +1000)
committerQt by Nokia <qt-info@nokia.com>
Fri, 23 Sep 2011 00:22:26 +0000 (02:22 +0200)
commit3af0f98a79f223988854e313c198f5fdf3ff5e3b
tree51128fd87af1a8702a47f2cfdd340655b7584f3e
parent2bed35935d1e831eaaa944014d455bdb32e88d8a
Further delay animation creation in Behavior.

Previously we always created the animation on the first call to write,
regardless of whether the Behavior was enabled. Now we delay until the
animation is needed.

Change-Id: I14a319a4f045050fe6a99427b7c3804ef078d48d
Reviewed-on: http://codereview.qt-project.org/5414
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Charles Yin <charles.yin@nokia.com>
src/declarative/util/qdeclarativebehavior.cpp