From 37fe917272b72f375ed7e6a3396bacc763e8825e Mon Sep 17 00:00:00 2001 From: Paul Olav Tvete Date: Wed, 7 Sep 2011 11:07:27 +0200 Subject: Make the xlib platform plugin work again MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I2921d707a7bed7cfba19e49283e3ec5eab3c449b Reviewed-on: http://codereview.qt.nokia.com/4343 Reviewed-by: Qt Sanity Bot Reviewed-by: Samuel Rødal --- src/plugins/platforms/xlib/qxlibintegration.cpp | 4 ++-- src/plugins/platforms/xlib/qxlibintegration.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/plugins/platforms') diff --git a/src/plugins/platforms/xlib/qxlibintegration.cpp b/src/plugins/platforms/xlib/qxlibintegration.cpp index c8a6db92b4..c1f0941619 100644 --- a/src/plugins/platforms/xlib/qxlibintegration.cpp +++ b/src/plugins/platforms/xlib/qxlibintegration.cpp @@ -44,7 +44,7 @@ #include "qxlibbackingstore.h" #include #include -#include +#include #include #include "qxlibwindow.h" @@ -83,7 +83,7 @@ QPlatformBackingStore *QXlibIntegration::createPlatformBackingStore(QWindow *win return new QXlibBackingStore(window); } -QPlatformOpenGLContext *QXlibIntegration::createPlatformGLContext(QOpenGLContext *context) const +QPlatformOpenGLContext *QXlibIntegration::createPlatformOpenGLContext(QOpenGLContext *context) const { QXlibScreen *screen = static_cast(context->screen()->handle()); diff --git a/src/plugins/platforms/xlib/qxlibintegration.h b/src/plugins/platforms/xlib/qxlibintegration.h index 9cdb1dad9c..f5150fca6f 100644 --- a/src/plugins/platforms/xlib/qxlibintegration.h +++ b/src/plugins/platforms/xlib/qxlibintegration.h @@ -64,7 +64,7 @@ public: QPlatformWindow *createPlatformWindow(QWindow *window) const; QPlatformBackingStore *createPlatformBackingStore(QWindow *window) const; - QPlatformOpenGLContext *createPlatformGLContext(QOpenGLContext *context) const; + QPlatformOpenGLContext *createPlatformOpenGLContext(QOpenGLContext *context) const; QAbstractEventDispatcher *guiThreadEventDispatcher() const; -- cgit v1.2.3