summaryrefslogtreecommitdiffstats
path: root/src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h
diff options
context:
space:
mode:
authorSamuel Rødal <sroedal@trolltech.com>2009-07-29 13:32:02 (GMT)
committerSamuel Rødal <sroedal@trolltech.com>2009-07-29 13:32:02 (GMT)
commitd279a24b93b749ca27db39239f1eb03b4992eebb (patch)
treee6104ce31b898404d33a842cac3a52cdc207883d /src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h
parent928eb3dee17f43d54262d1f3dfc5212f183e6ce9 (diff)
downloadQt-d279a24b93b749ca27db39239f1eb03b4992eebb.zip
Qt-d279a24b93b749ca27db39239f1eb03b4992eebb.tar.gz
Qt-d279a24b93b749ca27db39239f1eb03b4992eebb.tar.bz2
Fixed various valgrind-reported issues in GL 2 engine.
Diffstat (limited to 'src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h')
-rw-r--r--src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h b/src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h
index 3ff2dca..6a96877 100644
--- a/src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h
+++ b/src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h
@@ -150,7 +150,7 @@ public:
q(q_ptr),
width(0), height(0),
ctx(0),
- currentBrush( &(q->state()->brush) ),
+ currentBrush(0),
inverseScale(1),
shaderManager(0)
{ }