From 29afbdba61614d61fdb803b27478e32ea35edc5f Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Wed, 30 May 2012 18:50:04 +0200 Subject: [PATCH] Use QPointer instead of QWeakPointer for tracking QObjects. Change-Id: I842906ffcc37e6649d947cef3a0d9ea942b14d05 Reviewed-by: Thiago Macieira --- .../hardware_integration/wayland_egl/waylandeglintegration.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compositor/hardware_integration/wayland_egl/waylandeglintegration.cpp b/src/compositor/hardware_integration/wayland_egl/waylandeglintegration.cpp index 293cf25..6554073 100644 --- a/src/compositor/hardware_integration/wayland_egl/waylandeglintegration.cpp +++ b/src/compositor/hardware_integration/wayland_egl/waylandeglintegration.cpp @@ -47,7 +47,7 @@ #include #include #include -#include +#include #include @@ -95,7 +95,7 @@ public: bool valid; bool flipperConnected; #ifdef EGL_WL_request_client_buffer_format - QWeakPointer directRenderSurface; + QPointer directRenderSurface; #endif PFNEGLBINDWAYLANDDISPLAYWL egl_bind_wayland_display; PFNEGLUNBINDWAYLANDDISPLAYWL egl_unbind_wayland_display; -- 2.7.4