summaryrefslogtreecommitdiffstats
path: root/src/widgets/kernel
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2012-04-16 23:11:41 +1000
committerQt by Nokia <qt-info@nokia.com>2012-04-17 08:06:47 +0200
commit5192b06ccb3a015a224c8a5efb23d5c8029b1156 (patch)
tree4a4ee196df2f0c67c3e2b8a6e2da56ff3fc68b75 /src/widgets/kernel
parent4e282e3ea23972e8a28915cd57ede214d89d840d (diff)
Fix bug in tst_QTimeLine::duration().
QTimeLine::currentTime() is an integer in the range [0..duration], not a float in the range [0.0..1.0]. The aim of the test appears to be to verify that currentTime() is at least 90% of the way to duration() when the timeline is almost due to finish, so verify that and give the corresponding 10% tolerance on reaching the end state. Change-Id: I38646947c3b9189a4e8e91a450c6071430ddc66a Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'src/widgets/kernel')
0 files changed, 0 insertions, 0 deletions