summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Barron <jbarron@trolltech.com>2009-07-10 10:31:49 (GMT)
committerJason Barron <jbarron@trolltech.com>2009-07-10 10:31:49 (GMT)
commitd8e2210f6e3f1f1d4806bb9e76b0afd816732db5 (patch)
tree6857d091e7686016060a52329535f51285775a7e
parentdb1364d48341cb5449755dfc34efc8c0ee2655c0 (diff)
downloadQt-d8e2210f6e3f1f1d4806bb9e76b0afd816732db5.zip
Qt-d8e2210f6e3f1f1d4806bb9e76b0afd816732db5.tar.gz
Qt-d8e2210f6e3f1f1d4806bb9e76b0afd816732db5.tar.bz2
Compile OpenVG paint engine after QScopedPointer changes.
Do the same fix as with the OpenGL paint engine.
-rw-r--r--src/openvg/qpaintengine_vg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openvg/qpaintengine_vg.cpp b/src/openvg/qpaintengine_vg.cpp
index 37945bf..1aed769 100644
--- a/src/openvg/qpaintengine_vg.cpp
+++ b/src/openvg/qpaintengine_vg.cpp
@@ -1321,7 +1321,7 @@ QPainterState *QVGPaintEngine::createState(QPainterState *orig) const
return new QVGPainterState();
} else {
QVGPaintEnginePrivate *d =
- static_cast<QVGPaintEnginePrivate *>(d_ptr);
+ static_cast<QVGPaintEnginePrivate *>(d_ptr.data());
QVGPainterState *origState = static_cast<QVGPainterState *>(orig);
origState->savedDirty = d->dirty;
d->dirty = 0;