From b9fcfa18f5e1d4cfebf0e1dae05b5a7a94843e4e Mon Sep 17 00:00:00 2001 From: Gunnar Sletta Date: Tue, 14 Jun 2011 08:09:14 +0200 Subject: [PATCH] Initialize member variable. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ica42c77614fa4fa9ae7692e00d3fc796219aacdc Reviewed-on: http://codereview.qt.nokia.com/466 Reviewed-by: Qt Sanity Bot Reviewed-by: Jørgen Lind --- src/gui/kernel/qplatformglcontext_qpa.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/kernel/qplatformglcontext_qpa.cpp b/src/gui/kernel/qplatformglcontext_qpa.cpp index 5c56efbf2f..b0c6aeb27a 100644 --- a/src/gui/kernel/qplatformglcontext_qpa.cpp +++ b/src/gui/kernel/qplatformglcontext_qpa.cpp @@ -62,7 +62,8 @@ class QPlatformGLContextPrivate { public: QPlatformGLContextPrivate() - :qGLContextHandle(0) + : qGLContextHandle(0) + , qGLContextDeleteFunction(0) { }