diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2011-05-04 17:01:57 +0200 |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2011-05-04 17:01:57 +0200 |
commit | 5c2282ffa39aa54ded220cb2cf28de75d0f176a2 (patch) | |
tree | ddb32d1d22bf9360c11ec231f34fad1eed5e06b7 /src/plugins/platforms/xcb | |
parent | 6229ef2dcec19e28ad0dd5772f2e144523ccf475 (diff) |
XCB plugin compile fix.
Diffstat (limited to 'src/plugins/platforms/xcb')
-rw-r--r-- | src/plugins/platforms/xcb/qxcbwindow.cpp | 2 | ||||
-rw-r--r-- | src/plugins/platforms/xcb/xcb.pro | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/platforms/xcb/qxcbwindow.cpp b/src/plugins/platforms/xcb/qxcbwindow.cpp index 0d9484b0c2..4cc07a06a4 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 1a487d66f4..fffdb5d4b0 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 |