summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qpainterpath_p.h
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar@trolltech.com>2009-10-27 08:12:09 (GMT)
committerGunnar Sletta <gunnar@trolltech.com>2009-10-27 08:13:55 (GMT)
commita46adcd714ec7c71c926511a7c29a8b29dbc1035 (patch)
treecaf89057daf3c9ee4e928d2022c66f1bf600e9af /src/gui/painting/qpainterpath_p.h
parentcdd341bd8ca9834cd631188c5efc440038ad0b20 (diff)
downloadQt-a46adcd714ec7c71c926511a7c29a8b29dbc1035.zip
Qt-a46adcd714ec7c71c926511a7c29a8b29dbc1035.tar.gz
Qt-a46adcd714ec7c71c926511a7c29a8b29dbc1035.tar.bz2
Reworked QVectorPath API to allow for caching and convex curved shapes
Diffstat (limited to 'src/gui/painting/qpainterpath_p.h')
-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 54c182d..fbdb9a6 100644
--- a/src/gui/painting/qpainterpath_p.h
+++ b/src/gui/painting/qpainterpath_p.h
@@ -103,7 +103,7 @@ public:
points[ptsPos++] = e.x;
points[ptsPos++] = e.y;
if (e.type == QPainterPath::CurveToElement)
- flags |= QVectorPath::CurvedShapeHint;
+ flags |= QVectorPath::CurvedShapeMask;
}
if (fillRule == Qt::WindingFill)