Skip to content

Commit 6d5a2db

Browse files
Samuel GaistJKSH
authored andcommitted
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 <[email protected]>
1 parent 30aec29 commit 6d5a2db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/corelib/tools/qline.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ inline static qreal q_rad2deg(qreal x)
344344
or a null line.
345345
346346
The intersect() function determines the IntersectType for this
347-
line and a given line, while the angle() function returns the
347+
line and a given line, while the angleTo() function returns the
348348
angle between the lines. In addition, the unitVector() function
349349
returns a line that has the same starting point as this line, but
350350
with a length of only 1, while the normalVector() function returns

0 commit comments

Comments
 (0)