summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2010-08-04 18:01:51 (GMT)
committerDavid Boddie <dboddie@trolltech.com>2010-08-04 18:01:51 (GMT)
commit884c9b8b04639faf445917f7e1b7dfe4cc7724e2 (patch)
tree6736d206e3227d80d8cb201390ed87fc2186b17c /src/gui
parente8b116e793d13204fb00b286becf95d2a933a784 (diff)
parent08d09a78d3faf8b211e78cb63285c35c5544b5fc (diff)
downloadQt-884c9b8b04639faf445917f7e1b7dfe4cc7724e2.zip
Qt-884c9b8b04639faf445917f7e1b7dfe4cc7724e2.tar.gz
Qt-884c9b8b04639faf445917f7e1b7dfe4cc7724e2.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/painting/qpaintengineex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qpaintengineex.cpp b/src/gui/painting/qpaintengineex.cpp
index e0746fb..881bd6e 100644
--- a/src/gui/painting/qpaintengineex.cpp
+++ b/src/gui/painting/qpaintengineex.cpp
@@ -831,7 +831,7 @@ void QPaintEngineEx::drawEllipse(const QRectF &r)
int point_count = 0;
x.points[0] = qt_curves_for_arc(r, 0, -360, x.points + 1, &point_count);
- QVectorPath vp((qreal *) pts, 13, qpaintengineex_ellipse_types, QVectorPath::EllipseHint);
+ QVectorPath vp((qreal *) pts, point_count, qpaintengineex_ellipse_types, QVectorPath::EllipseHint);
draw(vp);
}