diff options
author | Riku Palomäki <riku@palomaki.fi> | 2015-10-21 22:13:19 +0300 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2016-08-18 13:36:44 +0000 |
commit | 96bd2337a98c892b5def555163c491507dce7185 (patch) | |
tree | 83fe9de9c7a6f873c84fde54ba96ab0443bba62b /examples/quick/scenegraph/scenegraph.pro | |
parent | b5f9c1e6e7f3a6881874e4ec2f43cea68107a06b (diff) |
Flickable: Fixed rounding errors with contentX/Y
contentX/Y are qreals, but they are rounded using qRound/qFloor/qCeil
which will limit the values to 2^31 needlessly. This fix will use
(std::)round, std::floor and std::ceil instead to allow bigger values for
contentX and contentY.
Change-Id: I35ad4bcfa3b8bbc21e90768d348d3002ca400081
Task-number: QTBUG-48018
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'examples/quick/scenegraph/scenegraph.pro')
0 files changed, 0 insertions, 0 deletions