Correct method name referred to in QFont's detailed description.
authorMitch Curtis <mitch.curtis@nokia.com>
Fri, 27 Jul 2012 08:58:17 +0000 (10:58 +0200)
committerQt by Nokia <qt-info@nokia.com>
Fri, 27 Jul 2012 16:01:25 +0000 (18:01 +0200)
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 <ritt.ks@gmail.com>
src/gui/text/qfont.cpp

index 5fc98cd..9d9ee7a 100644 (file)
@@ -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