From 6d5a2db97d6f19f4ccc446473adc40a922e1a7ea Mon Sep 17 00:00:00 2001 From: Samuel Gaist Date: Fri, 6 Feb 2015 00:07:29 +0100 Subject: Fix QLineF Detailed Description Currently angle() is used in place of angleTo() to describe the difference with intersect. This patch fixes that. Task-number: QTBUG-44309 Change-Id: Idfc521932247f76fe15fd980ff8e87e52feec1f1 (cherry picked from qtbase/7dd0ea7b644fe63ef57a9e7b30a9fd5312159e40) Reviewed-by: Sze Howe Koh --- src/corelib/tools/qline.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/tools/qline.cpp b/src/corelib/tools/qline.cpp index 720e66e98a..e612233b2a 100644 --- a/src/corelib/tools/qline.cpp +++ b/src/corelib/tools/qline.cpp @@ -344,7 +344,7 @@ inline static qreal q_rad2deg(qreal x) or a null line. The intersect() function determines the IntersectType for this - line and a given line, while the angle() function returns the + line and a given line, while the angleTo() function returns the angle between the lines. In addition, the unitVector() function returns a line that has the same starting point as this line, but with a length of only 1, while the normalVector() function returns -- cgit v1.2.1