diff options
author | Konstantin Ritt <ritt.ks@gmail.com> | 2015-11-21 00:22:59 +0400 |
---|---|---|
committer | Konstantin Ritt <ritt.ks@gmail.com> | 2015-11-22 21:55:50 +0000 |
commit | 6a2b17eeec2d171d2afa17bdbc36456346bfd13b (patch) | |
tree | f86d9a5c6c1ca2556076f035284f9e8210631652 /src/gui | |
parent | 25301203bf1d4348dff2fba88d7b75e71e80152c (diff) |
QTextLine::cursorToX: Fix typo in the documentation
Change-Id: Iecdcab5145b147edbab78b08bd6c9e2dc2f18d48
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/text/qtextlayout.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/text/qtextlayout.cpp b/src/gui/text/qtextlayout.cpp index d68a59fae3..9f046af47c 100644 --- a/src/gui/text/qtextlayout.cpp +++ b/src/gui/text/qtextlayout.cpp @@ -2617,7 +2617,7 @@ void QTextLine::draw(QPainter *p, const QPointF &pos, const QTextLayout::FormatR inside the line, taking account of the \a edge. If \a cursorPos is not a valid cursor position, the nearest valid - cursor position will be used instead, and cpos will be modified to + cursor position will be used instead, and \a cursorPos will be modified to point to this valid cursor position. \sa xToCursor() |