summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qdrawhelper.cpp
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2018-04-23 13:46:55 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2018-05-30 08:28:11 +0000
commitd517d5428c30d1e9ae4b6413116ea147a8b64f3c (patch)
tree1ffbff0eee3d65f1c6feb30c2b21dde53476c3bd /src/gui/painting/qdrawhelper.cpp
parent6a1460874253ad6dce25a90dd3ab5bfe95e718c0 (diff)
Use qFuzzyCompare instead of qFuzzyIsNull in QPointF ==
qFuzzyIsNull has a fixed range, where qFuzzyCompare can tell if numbers are different in a more relative range. Without it QPointFs that are heavily scaled will be interpreted as identical, when they are quite different at their own scale. Task-number: QTBUG-60359 Task-number: QTBUG-62161 Change-Id: Ic4ba90e9e994aedff5548d690f053eb309b0a60b Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/gui/painting/qdrawhelper.cpp')
0 files changed, 0 insertions, 0 deletions