From adc732da98be7c2c13ffafaf6535e3cc47ebc0c3 Mon Sep 17 00:00:00 2001 From: Jason Barron Date: Thu, 20 Aug 2009 13:46:52 +0200 Subject: Fix compilation of qpaintengine_vg.cpp.. again. After the latest round of changes to Q_DECLARE_PRIVATE to use templates, we no longer need to call data() because Q_D() will expand to d_func() which will always return a pointer to the actual object instead of the scoped pointer. --- 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 2e6caf2..b0e190f 100644 --- a/src/openvg/qpaintengine_vg.cpp +++ b/src/openvg/qpaintengine_vg.cpp @@ -1323,7 +1323,7 @@ QPainterState *QVGPaintEngine::createState(QPainterState *orig) const return new QVGPainterState(); } else { Q_D(const QVGPaintEngine); - QVGPaintEnginePrivate *d2 = const_cast(d.data()); + QVGPaintEnginePrivate *d2 = const_cast(d); QVGPainterState *origState = static_cast(orig); origState->savedDirty = d2->dirty; d2->dirty = 0; -- cgit v0.12