summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSamuel Gaist <samuel.gaist@edeltech.ch>2015-02-05 23:07:29 (GMT)
committerSze Howe Koh <szehowe.koh@gmail.com>2015-02-06 05:27:03 (GMT)
commit6d5a2db97d6f19f4ccc446473adc40a922e1a7ea (patch)
tree5a102547789d4ec15280fb8d37c1dd68da3ee4fb /src
parent30aec2948a9bf322c45addb6afd66247572587b8 (diff)
downloadQt-6d5a2db97d6f19f4ccc446473adc40a922e1a7ea.zip
Qt-6d5a2db97d6f19f4ccc446473adc40a922e1a7ea.tar.gz
Qt-6d5a2db97d6f19f4ccc446473adc40a922e1a7ea.tar.bz2
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 <szehowe.koh@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/corelib/tools/qline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qline.cpp b/src/corelib/tools/qline.cpp
index 720e66e..e612233b2 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