From 2f097d4e239938f2ef752f416066ff5a1f1954a4 Mon Sep 17 00:00:00 2001 From: David Faure Date: Tue, 6 Jan 2015 12:18:00 +0100 Subject: [PATCH] Doc: fix copy/paste error in QTextCharFormat::setFont documentation Change-Id: I2190975762c6283daa004b754da607829d263b0a Reviewed-by: Konstantin Ritt --- src/gui/text/qtextformat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/text/qtextformat.cpp b/src/gui/text/qtextformat.cpp index ecd87188e7..fa294e44fd 100644 --- a/src/gui/text/qtextformat.cpp +++ b/src/gui/text/qtextformat.cpp @@ -1904,7 +1904,7 @@ void QTextCharFormat::setFont(const QFont &font) If \a behavior is QTextCharFormat::FontPropertiesAll, the font property that has not been explicitly set is treated like as it were set with default value; - If \a behavior is QTextCharFormat::FontPropertiesAll, the font property that + If \a behavior is QTextCharFormat::FontPropertiesSpecifiedOnly, the font property that has not been explicitly set is ignored and the respective property value remains unchanged.