diff options
author | Samuel Rødal <samuel.rodal@digia.com> | 2012-10-05 20:31:21 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-10-10 08:45:22 +0200 |
commit | 3d52d67096b0b3a427c085e5d84bcf13d16c1086 (patch) | |
tree | e92bdeda6f0c6ec317bcd66abc71c6c17eb7f334 /src/plugins/platforms/xcb/qxcbintegration.h | |
parent | 267b1a791d9527fed34c44c53440298331224542 (diff) |
Compile fix for when XCB_USE_GLX is not defined.
Fixes compile failure introduced by 394249616cbb4c0861a032d33f846f.
Change-Id: I5794d22ee87eb18c08ea1de227b943f2e675356c
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/plugins/platforms/xcb/qxcbintegration.h')
-rw-r--r-- | src/plugins/platforms/xcb/qxcbintegration.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/platforms/xcb/qxcbintegration.h b/src/plugins/platforms/xcb/qxcbintegration.h index 669a0d00f6..c625679f72 100644 --- a/src/plugins/platforms/xcb/qxcbintegration.h +++ b/src/plugins/platforms/xcb/qxcbintegration.h @@ -50,10 +50,10 @@ QT_BEGIN_NAMESPACE class QXcbConnection; class QAbstractEventDispatcher; class QXcbNativeInterface; +class QXcbScreen; #if !defined(QT_NO_OPENGL) && defined(XCB_USE_GLX) class QOpenGLDefaultContextInfo; -class QXcbScreen; #endif class QXcbIntegration : public QPlatformIntegration @@ -97,9 +97,7 @@ public: QStringList themeNames() const; QPlatformTheme *createPlatformTheme(const QString &name) const; -#if !defined(QT_NO_OPENGL) && defined(XCB_USE_GLX) void removeDefaultOpenGLContextInfo(QXcbScreen *screen); -#endif private: QList<QXcbConnection *> m_connections; |