summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorEirik Aavitsland <eirik.aavitsland@qt.io>2019-05-02 11:37:26 +0200
committerEirik Aavitsland <eirik.aavitsland@qt.io>2019-05-08 12:34:19 +0000
commit95fa35fc72c2fe199c4c6a891cfa68ed17c4aa71 (patch)
treee53a149a56923faea5b540cf54a269329ffe8d8e /src/corelib
parent19d13f8b2d966b09547a975e81f6f99f956df608 (diff)
Fix possible endless loop when stroking curves
The bezier shifting algorithm compared coordinates exactly, and so could end up in an endless loop when values were at the edge of the number resolution. Fix by using fuzzy comparison instead. Fixes: QTBUG-75522 Change-Id: I61346edbd87389f66965a906ac337fc1f5300e5c Reviewed-by: Robert Loehning <robert.loehning@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/corelib')
0 files changed, 0 insertions, 0 deletions