diff options
author | Uli Schlachter <psychon@znc.in> | 2012-01-22 21:03:12 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-23 11:02:18 +0100 |
commit | bd2ce747fc47f16fa0ed5af452e0ce0afcf9d743 (patch) | |
tree | 600f94ac5d0def56d4b4161e9a067b0f50fb325f /src/corelib/io | |
parent | 07993161b1008c5baf206831c462696be3201f02 (diff) |
xcb: Correctly check the X11 connection
Commit e08453f31ae2a195f86a763f0b1c5e617df0e1ce added a check which makes
sure qt prints an error message instead of segfaulting when it can't
connect to the X11 server.
However, libxcb will never return NULL from xcb_connect() and thus that
commit only works if XCB_USE_XLIB is defined and used.
Change-Id: I8cc1496494a94f07055a3ac5093ce362dd347c5b
Signed-off-by: Uli Schlachter <psychon@znc.in>
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'src/corelib/io')
0 files changed, 0 insertions, 0 deletions