summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeir Vattekar <geir.vattekar@nokia.com>2010-09-24 07:30:22 (GMT)
committerGeir Vattekar <geir.vattekar@nokia.com>2010-09-24 07:30:22 (GMT)
commit181f6a4b76a278ded6e402aada657cfda2d3f638 (patch)
tree9cce51f753ce6ee265294266197cedda84bc03e4
parentf1b0195c3ed4f18894273e279ecdcc840dea31bb (diff)
downloadQt-181f6a4b76a278ded6e402aada657cfda2d3f638.zip
Qt-181f6a4b76a278ded6e402aada657cfda2d3f638.tar.gz
Qt-181f6a4b76a278ded6e402aada657cfda2d3f638.tar.bz2
Doc: Said that QApplication exits when not able to open X11 display
Task-number: QTBUG-13377 Reviewed-by: Jerome Pasion
-rw-r--r--src/gui/kernel/qapplication.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/kernel/qapplication.cpp b/src/gui/kernel/qapplication.cpp
index 43d5772..e6dc623 100644
--- a/src/gui/kernel/qapplication.cpp
+++ b/src/gui/kernel/qapplication.cpp
@@ -711,6 +711,12 @@ void QApplicationPrivate::process_cmdline()
done.
\endlist
+ \section1 X11 Notes
+
+ If QApplication fails to open the X11 display, it will terminate
+ the process. This behavior is consistent with most X11
+ applications.
+
\sa arguments()
*/