src/gui/painting/qpaintengineex.cpp
changeset 37 758a864f9613
parent 33 3e2da88830cd
--- a/src/gui/painting/qpaintengineex.cpp	Fri Sep 17 08:34:18 2010 +0300
+++ b/src/gui/painting/qpaintengineex.cpp	Mon Oct 04 01:19:32 2010 +0300
@@ -831,7 +831,7 @@
 
     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);
 }