From 898e3f625ae53c10577dced0d0a910fd61106541 Mon Sep 17 00:00:00 2001 From: Alex Richardson Date: Fri, 13 Sep 2013 16:51:53 +0200 Subject: [PATCH] create a variable and not a function declaration found with the clang -Wvexing-parse warning --- scene.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene.cpp b/scene.cpp index b343829e6a..a39e5a35d5 100644 --- a/scene.cpp +++ b/scene.cpp @@ -806,7 +806,7 @@ void WindowPixmap::create() if (isValid()) { return; } - XServerGrabber grabber(); + XServerGrabber grabber; xcb_pixmap_t pix = xcb_generate_id(connection()); xcb_void_cookie_t namePixmapCookie = xcb_composite_name_window_pixmap_checked(connection(), toplevel()->frameId(), pix); Xcb::WindowAttributes windowAttributes(toplevel()->frameId());