Prevent easing example warnings.
authorThomas Hartmann <Thomas.Hartmann@digia.com>
Wed, 21 Nov 2012 10:53:45 +0000 (11:53 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 23 Nov 2012 16:04:00 +0000 (17:04 +0100)
commit02c110e989c44dcc18c5f0498dbc01ead87e069f
tree60bb42d01c158a101183b0495772ff9e15f327e7
parent601d99d062951f48d17ec0695189038cf80ad797
Prevent easing example warnings.

examples/widgets/animation/easing was spitting out a lot of
"QEasingCurve: Invalid tcb curve" warnings.
The reason was that in case of the TCP curve we do not provide
defaults.

The function createEasingCurve() now provides reasonable values
for the custom curves to show what is possible and how to use them.

Change-Id: I880d8d0f0ce2872ce2019f7d2e000f4c4ce136e2
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
examples/widgets/animation/easing/window.cpp