summaryrefslogtreecommitdiffstats
path: root/src/openvg
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvg')
-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;