Add a missing pointer initializer.

This causes a crash when using QGraphicsWebView with a GL viewport.

Change-Id: I64bdcfe8cd4d8ed7794188c1df08f9028479f8d4
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
This commit is contained in:
Jocelyn Turcotte 2012-05-22 13:23:26 +02:00 committed by Qt by Nokia
parent 19a6c50061
commit c283d78a1d

View File

@ -50,6 +50,7 @@ QBasicAtomicInt qgltextureglyphcache_serial_number = Q_BASIC_ATOMIC_INITIALIZER(
QGLTextureGlyphCache::QGLTextureGlyphCache(QFontEngineGlyphCache::Type type, const QTransform &matrix) QGLTextureGlyphCache::QGLTextureGlyphCache(QFontEngineGlyphCache::Type type, const QTransform &matrix)
: QImageTextureGlyphCache(type, matrix) : QImageTextureGlyphCache(type, matrix)
, m_textureResource(0)
, pex(0) , pex(0)
, m_blitProgram(0) , m_blitProgram(0)
, m_filterMode(Nearest) , m_filterMode(Nearest)