From 39f8db95c2dd227cf46eccb22b5b3860224894a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C4=81vis=20Mos=C4=81ns?= Date: Thu, 22 Oct 2015 16:23:51 +0300 Subject: [PATCH] Initialize QFunctionPointer to Q_NULLPTR REVIEW: 125756 --- src/declarativeimports/core/windowthumbnail.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/declarativeimports/core/windowthumbnail.cpp b/src/declarativeimports/core/windowthumbnail.cpp index 5a5274e1e..2b09657e8 100644 --- a/src/declarativeimports/core/windowthumbnail.cpp +++ b/src/declarativeimports/core/windowthumbnail.cpp @@ -76,10 +76,15 @@ WindowThumbnail::WindowThumbnail(QQuickItem *parent) , m_texture(0) #if HAVE_GLX , m_glxPixmap(XCB_PIXMAP_NONE) + , m_bindTexImage(Q_NULLPTR) + , m_releaseTexImage(Q_NULLPTR) #endif // HAVE_GLX #if HAVE_EGL , m_eglFunctionsResolved(false) , m_image(EGL_NO_IMAGE_KHR) + , m_eglCreateImageKHR(Q_NULLPTR) + , m_eglDestroyImageKHR(Q_NULLPTR) + , m_glEGLImageTargetTexture2DOES(Q_NULLPTR) #endif // HAVE_EGL #endif {