From fc3705cd04fcb3b2e876d606071423be948b98d1 Mon Sep 17 00:00:00 2001 From: Rohan McGovern Date: Fri, 18 Nov 2011 11:49:45 +1000 Subject: Fixed crashes from tests using xcb plugin with -qtnamespace. Use QT_BEGIN_NAMESPACE/QT_END_NAMESPACE consistently in xcb plugin. Some, but not all, of the sources were already using QT_BEGIN_NAMESPACE. Change-Id: I23b83cc88870fd4039437b733084ab86dd807356 Reviewed-by: Toby Tomkins --- src/plugins/platforms/xcb/qxcbbackingstore.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/plugins/platforms/xcb/qxcbbackingstore.cpp') diff --git a/src/plugins/platforms/xcb/qxcbbackingstore.cpp b/src/plugins/platforms/xcb/qxcbbackingstore.cpp index 2c6ec62475..fb8384212d 100644 --- a/src/plugins/platforms/xcb/qxcbbackingstore.cpp +++ b/src/plugins/platforms/xcb/qxcbbackingstore.cpp @@ -58,6 +58,8 @@ #include #include +QT_BEGIN_NAMESPACE + class QXcbShmImage : public QXcbObject { public: @@ -321,3 +323,4 @@ bool QXcbBackingStore::scroll(const QRegion &area, int dx, int dy) return true; } +QT_END_NAMESPACE -- cgit v1.2.3