summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qfont.cpp
diff options
context:
space:
mode:
authorTrond Kjernåsen <trond@trolltech.com>2010-02-10 12:48:55 +0100
committerTrond Kjernåsen <trond@trolltech.com>2010-02-10 12:49:52 +0100
commit64233a38fe5a1755a6426caf55eaf8abbd4187ac (patch)
treef8051fb913cf4d48cae488b203a4685c96783830 /src/gui/text/qfont.cpp
parent37ffa8f59c5dc1f4a1174a07e0a6df6e266d40c0 (diff)
Clarify QFont::rawName() docs.
Task-number: related to QTBUG-8038 Reviewed-by: Kim
Diffstat (limited to 'src/gui/text/qfont.cpp')
-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 bbd35f18cd..dd9e69e195 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.