From d8e2210f6e3f1f1d4806bb9e76b0afd816732db5 Mon Sep 17 00:00:00 2001
From: Jason Barron <jbarron@trolltech.com>
Date: Fri, 10 Jul 2009 12:31:49 +0200
Subject: Compile OpenVG paint engine after QScopedPointer changes.

Do the same fix as with the OpenGL paint engine.
---
 src/openvg/qpaintengine_vg.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
-- 
cgit v0.12