summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorSamuel Gaist <samuel.gaist@edeltech.ch>2015-02-06 00:07:29 +0100
committerSamuel Gaist <samuel.gaist@edeltech.ch>2015-02-05 23:35:25 +0000
commitdd4b09ae1aed3dd20c46ec240a43d70dc13f1ee4 (patch)
treebd21453d2a8c38dfc4c23068f86ba74c44053ba9 /src/corelib
parent612953a626ec21b8518ee23a4f5268b566cf41e5 (diff)
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 Reviewed-by: Sze Howe Koh <szehowe.koh@gmail.com>
Diffstat (limited to 'src/corelib')
-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 4561f831c8..9feb697aad 100644
--- a/src/corelib/tools/qline.cpp
+++ b/src/corelib/tools/qline.cpp
@@ -334,7 +334,7 @@ QDataStream &operator>>(QDataStream &stream, QLine &line)
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