summaryrefslogtreecommitdiffstats
path: root/src/compositor/hardware_integration
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2012-05-30 18:50:04 +0200
committerThiago Macieira <thiago.macieira@intel.com>2012-05-31 11:02:24 +0200
commit29afbdba61614d61fdb803b27478e32ea35edc5f (patch)
treeaafcfa44911c07e4e71df84a73591086990b8dd8 /src/compositor/hardware_integration
parentda3deccacd6c13368a789eeccc288de6ef35856f (diff)
Use QPointer instead of QWeakPointer for tracking QObjects.
Change-Id: I842906ffcc37e6649d947cef3a0d9ea942b14d05 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/compositor/hardware_integration')
-rw-r--r--src/compositor/hardware_integration/wayland_egl/waylandeglintegration.cpp4
1 files 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 293cf2575..655407378 100644
--- a/src/compositor/hardware_integration/wayland_egl/waylandeglintegration.cpp
+++ b/src/compositor/hardware_integration/wayland_egl/waylandeglintegration.cpp
@@ -47,7 +47,7 @@
#include <QtGui/QOpenGLContext>
#include <qpa/qplatformscreen.h>
#include <QtGui/QWindow>
-#include <QtCore/QWeakPointer>
+#include <QtCore/QPointer>
#include <QDebug>
@@ -95,7 +95,7 @@ public:
bool valid;
bool flipperConnected;
#ifdef EGL_WL_request_client_buffer_format
- QWeakPointer<WaylandSurface> directRenderSurface;
+ QPointer<WaylandSurface> directRenderSurface;
#endif
PFNEGLBINDWAYLANDDISPLAYWL egl_bind_wayland_display;
PFNEGLUNBINDWAYLANDDISPLAYWL egl_unbind_wayland_display;