diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2010-05-10 00:32:59 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2010-05-10 00:32:59 (GMT) |
commit | 346aa62e0ca4d02c32cae227165db004d2f15214 (patch) | |
tree | 1fa2dfe021f3c59af63a6b96e5616a5fdce7ceff /src | |
parent | e7cf5fc921c00286846ac552b51a37fe2f51ff3e (diff) | |
download | Qt-346aa62e0ca4d02c32cae227165db004d2f15214.zip Qt-346aa62e0ca4d02c32cae227165db004d2f15214.tar.gz Qt-346aa62e0ca4d02c32cae227165db004d2f15214.tar.bz2 |
Avoid changing header dependencies.
(should fix compile on Symbian)
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/painting/qpaintengine_raster.cpp | 5 | ||||
-rw-r--r-- | 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); |