Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.15.0
-
None
-
-
95b5a56071b30217735a2fc37ab25c347ca437b6 (qt/qtbase/dev) 3365075abd3f9af9e5bc788481c932dc86814739 (qt/qtbase/5.15)
Description
Switching from qt 5.12.8 LTS to 5.15.0 LTS I found that QLineF::angle(const QLineF &line) was deprecated and angleTo() was the replacement. However they give different results. In the example attached the old angle() gives a result of 150 degrees and the new angleTo() gives a result of 210 degrees. So as they are not the same. Either a) they should be the same or b) the old angle() should not be deprecated.