summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel
diff options
context:
space:
mode:
authorBradley T. Hughes <bradley.hughes@nokia.com>2010-05-27 11:37:58 (GMT)
committerBradley T. Hughes <bradley.hughes@nokia.com>2010-05-27 11:38:33 (GMT)
commit975dbe047590253e9d4433030d76ab26969f621f (patch)
treee6a6414ae27148c63097957d63804f0b83cea366 /src/gui/kernel
parentbc5e4da28c1ffbc0da1cbfcaa1e6236ff4c2d4e3 (diff)
downloadQt-975dbe047590253e9d4433030d76ab26969f621f.zip
Qt-975dbe047590253e9d4433030d76ab26969f621f.tar.gz
Qt-975dbe047590253e9d4433030d76ab26969f621f.tar.bz2
Update documentation for the -font command line option
This option is ignored when Qt is built with fontconfig support, make sure it is documented. Task-number: QTBUG-3671
Diffstat (limited to 'src/gui/kernel')
-rw-r--r--src/gui/kernel/qapplication.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/kernel/qapplication.cpp b/src/gui/kernel/qapplication.cpp
index 57c4c99..0d11b27 100644
--- a/src/gui/kernel/qapplication.cpp
+++ b/src/gui/kernel/qapplication.cpp
@@ -666,7 +666,8 @@ void QApplicationPrivate::process_cmdline()
\o -geometry \e geometry, sets the client geometry of the first window
that is shown.
\o -fn or \c -font \e font, defines the application font. The font
- should be specified using an X logical font description.
+ should be specified using an X logical font description. Note that
+ this option is ignored when Qt is built with fontconfig support enabled.
\o -bg or \c -background \e color, sets the default background color
and an application palette (light and dark shades are calculated).
\o -fg or \c -foreground \e color, sets the default foreground color.