diff options
Diffstat (limited to 'src/openvg')
-rw-r--r-- | src/openvg/qpaintengine_vg.cpp | 2 | ||||
-rw-r--r-- | src/openvg/qpixmapdata_vg_p.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/openvg/qpaintengine_vg.cpp b/src/openvg/qpaintengine_vg.cpp index 7a962e4..a9ecffc 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); + QVGPaintEnginePrivate *d2 = const_cast<QVGPaintEnginePrivate*>(d.data()); QVGPainterState *origState = static_cast<QVGPainterState *>(orig); origState->savedDirty = d2->dirty; d2->dirty = 0; diff --git a/src/openvg/qpixmapdata_vg_p.h b/src/openvg/qpixmapdata_vg_p.h index bb019be..ebd769e 100644 --- a/src/openvg/qpixmapdata_vg_p.h +++ b/src/openvg/qpixmapdata_vg_p.h @@ -54,7 +54,7 @@ // #include <QtGui/private/qpixmap_raster_p.h> -#include "qvg_p.h" +#include <private/qvg_p.h> #if !defined(QT_NO_EGL) #include <QtGui/private/qegl_p.h> #endif |