summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-11-07 15:38:35 +0100
committerQt by Nokia <qt-info@nokia.com>2011-11-07 16:49:08 +0100
commita05270f435483937e76d18fa6e512dc0394507d1 (patch)
tree65de1871c6f6471fbe56917d12ac4876fcb0490d /src
parentb2bc9d276224bf8e9fe1a3953907cfbb8f3da837 (diff)
QPainterPath: Fix copy constructor.
Re-add base class initialization accidentally removed by e277575987657aa07444eea9bee99769f039d3b0. Fix warning: 'base class 'class QPainterPathPrivate' should be explicitly initialized in the copy constructor. Change-Id: Ie94fa82eeeb3a8ddc69aef447f73ce36da616916 Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
Diffstat (limited to 'src')
-rw-r--r--src/gui/painting/qpainterpath_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qpainterpath_p.h b/src/gui/painting/qpainterpath_p.h
index 8d5bd7310f..731a1bcc24 100644
--- a/src/gui/painting/qpainterpath_p.h
+++ b/src/gui/painting/qpainterpath_p.h
@@ -153,7 +153,7 @@ public:
}
QPainterPathData(const QPainterPathData &other) :
- cStart(other.cStart), fillRule(other.fillRule),
+ QPainterPathPrivate(other), cStart(other.cStart), fillRule(other.fillRule),
bounds(other.bounds),
controlBounds(other.controlBounds),
dirtyBounds(other.dirtyBounds),