diff options
author | Cornelius Mika <cornelius.mika@gmail.com> | 2015-09-20 17:53:57 +0200 |
---|---|---|
committer | Cornelius Mika <cornelius.mika@gmail.com> | 2015-10-31 18:42:49 +0000 |
commit | eab47802925acb34a6785639bb34bfa97e58643f (patch) | |
tree | 389b30b09652b05d5adb4fcf80b943f9b98ba263 /src/qml/Qt5QmlConfigExtras.cmake.in | |
parent | 388e85f18b7f79c733c9b684de6907378f7a108a (diff) |
Fix childrenRect calculation
Because the 'bottom' and 'right' variables were both initialized to 0,
the bottom right corner of the children rect was clamped to
coordinates >= (0, 0).
Additionally, replace FLT_MAX with the more appropriate
std::numeric_limits<qreal>::max().
Task-number: QTBUG-38732
Change-Id: I073b0b44737cf1faed5e4f6a5d466dd830d451bf
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
Diffstat (limited to 'src/qml/Qt5QmlConfigExtras.cmake.in')
0 files changed, 0 insertions, 0 deletions