From 5c2282ffa39aa54ded220cb2cf28de75d0f176a2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Samuel=20R=C3=B8dal?= Date: Wed, 4 May 2011 17:01:57 +0200 Subject: [PATCH] XCB plugin compile fix. --- src/plugins/platforms/xcb/qxcbwindow.cpp | 2 ++ src/plugins/platforms/xcb/xcb.pro | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/plugins/platforms/xcb/qxcbwindow.cpp b/src/plugins/platforms/xcb/qxcbwindow.cpp index 0d9484b..4cc07a0 100644 --- a/src/plugins/platforms/xcb/qxcbwindow.cpp +++ b/src/plugins/platforms/xcb/qxcbwindow.cpp @@ -72,6 +72,7 @@ #include "../eglconvenience/qxlibeglintegration.h" #endif +#if 0 // Returns true if we should set WM_TRANSIENT_FOR on \a w static inline bool isTransient(const QWidget *w) { @@ -84,6 +85,7 @@ static inline bool isTransient(const QWidget *w) || w->windowType() == Qt::Popup) && !w->testAttribute(Qt::WA_X11BypassTransientForHint)); } +#endif QXcbWindow::QXcbWindow(QWindow *window) : QPlatformWindow(window) diff --git a/src/plugins/platforms/xcb/xcb.pro b/src/plugins/platforms/xcb/xcb.pro index 1a487d6..fffdb5d 100644 --- a/src/plugins/platforms/xcb/xcb.pro +++ b/src/plugins/platforms/xcb/xcb.pro @@ -23,7 +23,7 @@ HEADERS = \ qxcbwindowsurface.h \ qxcbnativeinterface.h -QT += gui-private +QT += gui-private core-private contains(QT_CONFIG, opengl) { QT += opengl -- 2.7.4