summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2011-02-20 14:00:03 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2011-02-21 13:44:07 (GMT)
commitbb8715924f79cfa0c31adc63b6f8ea93bb2988b9 (patch)
treea05701dea65081f0e1a2384467d1b70e5d772695 /src/gui
parent210ec8b1363569cd459dd3ce0172eea8e4ef0998 (diff)
downloadQt-bb8715924f79cfa0c31adc63b6f8ea93bb2988b9.zip
Qt-bb8715924f79cfa0c31adc63b6f8ea93bb2988b9.tar.gz
Qt-bb8715924f79cfa0c31adc63b6f8ea93bb2988b9.tar.bz2
Fix silly warnings about initialising in the wrong order
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/painting/qpaintengine_raster.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/painting/qpaintengine_raster.cpp b/src/gui/painting/qpaintengine_raster.cpp
index 47caa9f..5513010 100644
--- a/src/gui/painting/qpaintengine_raster.cpp
+++ b/src/gui/painting/qpaintengine_raster.cpp
@@ -662,19 +662,19 @@ QRasterPaintEngineState::QRasterPaintEngineState()
QRasterPaintEngineState::QRasterPaintEngineState(QRasterPaintEngineState &s)
: QPainterState(s)
+ , lastPen(s.lastPen)
+ , penData(s.penData)
, stroker(s.stroker)
+ , strokeFlags(s.strokeFlags)
, lastBrush(s.lastBrush)
, brushData(s.brushData)
- , lastPen(s.lastPen)
- , penData(s.penData)
, fillFlags(s.fillFlags)
- , strokeFlags(s.strokeFlags)
, pixmapFlags(s.pixmapFlags)
, intOpacity(s.intOpacity)
, txscale(s.txscale)
- , flag_bits(s.flag_bits)
, clip(s.clip)
, dirty(s.dirty)
+ , flag_bits(s.flag_bits)
{
brushData.tempImage = 0;
penData.tempImage = 0;