summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Linville <aaron@linville.org>2018-02-02 19:34:24 -0500
committerAaron Linville <aaron@linville.org>2018-02-13 02:59:44 +0000
commit64b8ddb755b3d596af97f49c60ffd4bcd7e20cfe (patch)
tree201f746ecefe9552e6286963e911aac7958ba535
parent0b300c94094412fbf36e942fe00c18da0e5ed62a (diff)
Doc: Fix links to QFontMetrics::width() overloads
Links to width(QChar) are incorrectly linking to QChar rather than to the intended QFontMetrics::width method. Task-number: QTBUG-65141 Change-Id: I1647885c735011ec3d99c535fdb8b7fc1bf57f99 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
-rw-r--r--src/gui/text/qfontmetrics.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/text/qfontmetrics.cpp b/src/gui/text/qfontmetrics.cpp
index 5ad57b064b..407559ad51 100644
--- a/src/gui/text/qfontmetrics.cpp
+++ b/src/gui/text/qfontmetrics.cpp
@@ -452,7 +452,7 @@ bool QFontMetrics::inFontUcs4(uint ucs4) const
value is negative if the pixels of the character extend to the
left of the logical origin.
- See width(QChar) for a graphical description of this metric.
+ See width() for a graphical description of this metric.
\sa rightBearing(), minLeftBearing(), width()
*/
@@ -1402,7 +1402,7 @@ bool QFontMetricsF::inFontUcs4(uint ucs4) const
value is negative if the pixels of the character extend to the
left of the logical origin.
- See width(QChar) for a graphical description of this metric.
+ See width() for a graphical description of this metric.
\sa rightBearing(), minLeftBearing(), width()
*/