summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/xlib/qxlibscreen.cpp
diff options
context:
space:
mode:
authorJyri Tahtela <jyri.tahtela@nokia.com>2011-05-13 11:30:46 (GMT)
committerJyri Tahtela <jyri.tahtela@nokia.com>2011-05-13 11:30:46 (GMT)
commit50ea2454c0ad9b28be6dd5125c74466f0f96d16a (patch)
tree610e8b4852bca7d23ec5c4b9937a119eed96a124 /src/plugins/platforms/xlib/qxlibscreen.cpp
parent0f750aec4507fffc06acea46a513c6d374564d6a (diff)
parenta80130b07c5b8ee4b06eabbceb65eb23d4d4602e (diff)
downloadQt-50ea2454c0ad9b28be6dd5125c74466f0f96d16a.zip
Qt-50ea2454c0ad9b28be6dd5125c74466f0f96d16a.tar.gz
Qt-50ea2454c0ad9b28be6dd5125c74466f0f96d16a.tar.bz2
Merge remote-tracking branch 'qt/4.8'
Conflicts: src/s60installs/eabi/QtOpenGLu.def
Diffstat (limited to 'src/plugins/platforms/xlib/qxlibscreen.cpp')
-rw-r--r--src/plugins/platforms/xlib/qxlibscreen.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/platforms/xlib/qxlibscreen.cpp b/src/plugins/platforms/xlib/qxlibscreen.cpp
index 7c8a367..c4c8126 100644
--- a/src/plugins/platforms/xlib/qxlibscreen.cpp
+++ b/src/plugins/platforms/xlib/qxlibscreen.cpp
@@ -54,8 +54,6 @@
#include <private/qapplication_p.h>
-#include <X11/extensions/Xfixes.h>
-
QT_BEGIN_NAMESPACE
static int (*original_x_errhandler)(Display *dpy, XErrorEvent *);
@@ -201,7 +199,7 @@ QXlibScreen::QXlibScreen()
#ifndef DONT_USE_MIT_SHM
- Status MIT_SHM_extension_supported = XShmQueryExtension (mDisplay->nativeDisplay());
+ int MIT_SHM_extension_supported = XShmQueryExtension (mDisplay->nativeDisplay());
Q_ASSERT(MIT_SHM_extension_supported == True);
#endif
original_x_errhandler = XSetErrorHandler(qt_x_errhandler);