summaryrefslogtreecommitdiffstats
path: root/src/openvg
diff options
context:
space:
mode:
authorJason Barron <jbarron@trolltech.com>2009-08-20 11:46:52 (GMT)
committerJason Barron <jbarron@trolltech.com>2009-08-20 11:50:40 (GMT)
commitadc732da98be7c2c13ffafaf6535e3cc47ebc0c3 (patch)
tree37f6f958b61ec233088d74722f9ad0dd28dad7b3 /src/openvg
parent7bd98800a9e5dd4470cb1230e78493262a26dde8 (diff)
downloadQt-adc732da98be7c2c13ffafaf6535e3cc47ebc0c3.zip
Qt-adc732da98be7c2c13ffafaf6535e3cc47ebc0c3.tar.gz
Qt-adc732da98be7c2c13ffafaf6535e3cc47ebc0c3.tar.bz2
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.
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 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<QVGPaintEnginePrivate*>(d.data());
+ QVGPaintEnginePrivate *d2 = const_cast<QVGPaintEnginePrivate*>(d);
QVGPainterState *origState = static_cast<QVGPainterState *>(orig);
origState->savedDirty = d2->dirty;
d2->dirty = 0;