diff options
author | Trond Kjernåsen <trond@trolltech.com> | 2010-02-10 11:48:55 (GMT) |
---|---|---|
committer | Trond Kjernåsen <trond@trolltech.com> | 2010-02-10 11:49:52 (GMT) |
commit | 64233a38fe5a1755a6426caf55eaf8abbd4187ac (patch) | |
tree | f8051fb913cf4d48cae488b203a4685c96783830 | |
parent | 37ffa8f59c5dc1f4a1174a07e0a6df6e266d40c0 (diff) | |
download | Qt-64233a38fe5a1755a6426caf55eaf8abbd4187ac.zip Qt-64233a38fe5a1755a6426caf55eaf8abbd4187ac.tar.gz Qt-64233a38fe5a1755a6426caf55eaf8abbd4187ac.tar.bz2 |
Clarify QFont::rawName() docs.
Task-number: related to QTBUG-8038
Reviewed-by: Kim
-rw-r--r-- | src/gui/text/qfont.cpp | 5 |
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. |