summaryrefslogtreecommitdiffstats
path: root/src/opengl/qpaintengine_opengl.cpp
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2009-10-07 00:53:34 (GMT)
committerBea Lam <bea.lam@nokia.com>2009-10-07 00:53:34 (GMT)
commitafcad4b4393b4f7187737fb8b4e528887b07d943 (patch)
treeb23674fa38f6bc13b6433526660ad57677f78240 /src/opengl/qpaintengine_opengl.cpp
parent1042b1e1930131750d54112ec8f3deb6f70a9c76 (diff)
parentd7fe798e022884dcbc58844e686a7d4fd39cf027 (diff)
downloadQt-afcad4b4393b4f7187737fb8b4e528887b07d943.zip
Qt-afcad4b4393b4f7187737fb8b4e528887b07d943.tar.gz
Qt-afcad4b4393b4f7187737fb8b4e528887b07d943.tar.bz2
Merge branch 'kinetic-declarativeui' of git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Diffstat (limited to 'src/opengl/qpaintengine_opengl.cpp')
-rw-r--r--src/opengl/qpaintengine_opengl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opengl/qpaintengine_opengl.cpp b/src/opengl/qpaintengine_opengl.cpp
index da490c0..3e4a8e7 100644
--- a/src/opengl/qpaintengine_opengl.cpp
+++ b/src/opengl/qpaintengine_opengl.cpp
@@ -2311,7 +2311,7 @@ void QOpenGLPaintEnginePrivate::updateDepthClip()
void QOpenGLPaintEnginePrivate::systemStateChanged()
{
Q_Q(QOpenGLPaintEngine);
- if (q->state()->hasClipping)
+ if (q->painter()->hasClipping())
q->updateClipRegion(q->painter()->clipRegion(), Qt::ReplaceClip);
else
q->updateClipRegion(QRegion(), Qt::NoClip);