From a05270f435483937e76d18fa6e512dc0394507d1 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Mon, 7 Nov 2011 15:38:35 +0100 Subject: 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 --- src/gui/painting/qpainterpath_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/painting/qpainterpath_p.h') 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), -- cgit v1.2.3