From 9b0b72fa481177d987067d820cbfd786255bf7db Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Wed, 21 Sep 2011 11:10:51 +0200 Subject: [PATCH] workaround XCB-ICCCM 3.8 breakage, second instance MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ic456f6ca9d845f50506b41d71bb5d2b83239a37e Reviewed-on: http://codereview.qt-project.org/5333 Reviewed-by: Qt Sanity Bot Reviewed-by: Samuel Rødal Reviewed-by: Lars Knoll --- src/plugins/platforms/xcb/qxcbclipboard.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/platforms/xcb/qxcbclipboard.cpp b/src/plugins/platforms/xcb/qxcbclipboard.cpp index 8a7316ce53..fdf89cbda1 100644 --- a/src/plugins/platforms/xcb/qxcbclipboard.cpp +++ b/src/plugins/platforms/xcb/qxcbclipboard.cpp @@ -50,7 +50,9 @@ #include +#define class class_name // Workaround XCB-ICCCM 3.8 breakage #include +#undef class class QXcbClipboardMime : public QXcbMime {