diff options
author | David Faure <david.faure@kdab.com> | 2015-01-06 12:18:00 +0100 |
---|---|---|
committer | David Faure <david.faure@kdab.com> | 2015-01-22 12:08:42 +0100 |
commit | 2f097d4e239938f2ef752f416066ff5a1f1954a4 (patch) | |
tree | 6bd45b1aab5d3bf754b0ec506464a758f532481b | |
parent | db853fa75dc6598b30ce512997fc8bad0a37354f (diff) |
Doc: fix copy/paste error in QTextCharFormat::setFont documentation
Change-Id: I2190975762c6283daa004b754da607829d263b0a
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
-rw-r--r-- | src/gui/text/qtextformat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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. |