summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTrond Kjernåsen <trond@trolltech.com>2010-02-10 11:48:55 (GMT)
committerTrond Kjernåsen <trond@trolltech.com>2010-02-10 11:49:52 (GMT)
commit64233a38fe5a1755a6426caf55eaf8abbd4187ac (patch)
treef8051fb913cf4d48cae488b203a4685c96783830 /src
parent37ffa8f59c5dc1f4a1174a07e0a6df6e266d40c0 (diff)
downloadQt-64233a38fe5a1755a6426caf55eaf8abbd4187ac.zip
Qt-64233a38fe5a1755a6426caf55eaf8abbd4187ac.tar.gz
Qt-64233a38fe5a1755a6426caf55eaf8abbd4187ac.tar.bz2
Clarify QFont::rawName() docs.
Task-number: related to QTBUG-8038 Reviewed-by: Kim
Diffstat (limited to 'src')
-rw-r--r--src/gui/text/qfont.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/text/qfont.cpp b/src/gui/text/qfont.cpp
index bbd35f1..dd9e69e 100644
--- a/src/gui/text/qfont.cpp
+++ b/src/gui/text/qfont.cpp
@@ -629,8 +629,9 @@ QFontEngineData::~QFontEngineData()
Returns the name of the font within the underlying window system.
- Only on X11 when Qt was built without FontConfig support the XLFD (X Logical Font Description)
- is returned; otherwise an empty string.
+ On X11, this function will return an empty string if Qt is built with
+ FontConfig support; otherwise the XLFD (X Logical Font Description) is
+ returned.
Using the return value of this function is usually \e not \e
portable.