summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar.sletta@nokia.com>2011-06-14 08:09:14 +0200
committerQt Continuous Integration System <qt-info@nokia.com>2011-06-14 09:35:53 +0200
commitb9fcfa18f5e1d4cfebf0e1dae05b5a7a94843e4e (patch)
tree7205b6d37e3ae3863575485a47def5db8bd0f085 /src
parenta37f8e08ec295fe25b9ac663b8cda8109a1c38cf (diff)
Initialize member variable.
Change-Id: Ica42c77614fa4fa9ae7692e00d3fc796219aacdc Reviewed-on: http://codereview.qt.nokia.com/466 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
Diffstat (limited to 'src')
-rw-r--r--src/gui/kernel/qplatformglcontext_qpa.cpp3
1 files changed, 2 insertions, 1 deletions
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)
{
}