From 8e49def48e7ce8cccf7b25142dd12a59f0e31947 Mon Sep 17 00:00:00 2001 From: Mitch Curtis Date: Fri, 27 Jul 2012 10:58:17 +0200 Subject: [PATCH] Correct method name referred to in QFont's detailed description. The detailed description of the QFont class reference contains the wrong method name (and link) setPointSizeFloat(). This change replaces it with the correct name: setPointSizeF(). Task-number: QTBUG-15536 Change-Id: Ieb2e398b8e1d0b637a6bac16a3ec48522c5dddc1 Reviewed-by: Konstantin Ritt --- src/gui/text/qfont.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/text/qfont.cpp b/src/gui/text/qfont.cpp index 5fc98cdf047..9d9ee7a9462 100644 --- a/src/gui/text/qfont.cpp +++ b/src/gui/text/qfont.cpp @@ -371,7 +371,7 @@ QFontEngineData::~QFontEngineData() \snippet code/src_gui_text_qfont.cpp 0 The attributes set in the constructor can also be set later, e.g. - setFamily(), setPointSize(), setPointSizeFloat(), setWeight() and + setFamily(), setPointSize(), setPointSizeF(), setWeight() and setItalic(). The remaining attributes must be set after contstruction, e.g. setBold(), setUnderline(), setOverline(), setStrikeOut() and setFixedPitch(). QFontInfo objects should be