From 346aa62e0ca4d02c32cae227165db004d2f15214 Mon Sep 17 00:00:00 2001 From: Warwick Allison Date: Mon, 10 May 2010 10:32:59 +1000 Subject: Avoid changing header dependencies. (should fix compile on Symbian) --- src/gui/painting/qpaintengine_raster.cpp | 5 +++++ src/gui/painting/qpaintengine_raster_p.h | 5 +---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/gui/painting/qpaintengine_raster.cpp b/src/gui/painting/qpaintengine_raster.cpp index 483bc0c..6f395f6 100644 --- a/src/gui/painting/qpaintengine_raster.cpp +++ b/src/gui/painting/qpaintengine_raster.cpp @@ -251,6 +251,11 @@ static void qt_debug_path(const QPainterPath &path) } #endif +QRasterPaintEnginePrivate::QRasterPaintEnginePrivate() : + QPaintEngineExPrivate(), + cachedLines(0) +{ +} /*! diff --git a/src/gui/painting/qpaintengine_raster_p.h b/src/gui/painting/qpaintengine_raster_p.h index 0a0b0b2..1016f8d 100644 --- a/src/gui/painting/qpaintengine_raster_p.h +++ b/src/gui/painting/qpaintengine_raster_p.h @@ -300,10 +300,7 @@ QRasterPaintEnginePrivate : public QPaintEngineExPrivate { Q_DECLARE_PUBLIC(QRasterPaintEngine) public: - QRasterPaintEnginePrivate() : QPaintEngineExPrivate(), - cachedLines(0) - { - } + QRasterPaintEnginePrivate(); void rasterizeLine_dashed(QLineF line, qreal width, int *dashIndex, qreal *dashOffset, bool *inDash); -- cgit v0.12